Fix for issue #270, fix for temp merchant lists not loading correctly, fix for ah redundant getadventurestats code.

This commit is contained in:
KimLS
2014-10-13 15:59:11 -07:00
parent ea734c90b5
commit 15cec40ed5
7 changed files with 47 additions and 54 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ void Zone::LoadTempMerchantData() {
"WHERE "
"ml.npcid = se.npcid "
"AND se.spawngroupid = s2.spawngroupid "
"AND s2.zone = '%s' AND s2.version = %i"
"AND s2.zone = '%s' AND s2.version = %i "
"ORDER BY ml.slot ", GetShortName(), GetInstanceVersion());
auto results = database.QueryDatabase(query);
if (!results.Success()) {