Core/Misc: Ensure that query used for .reload creature_template command always matches the one used for loading during startup

This commit is contained in:
Shauren
2020-06-04 00:13:05 +02:00
parent 3f5dbf1f88
commit df0a027444
3 changed files with 16 additions and 10 deletions

View File

@@ -434,6 +434,7 @@ public:
WorldDatabasePreparedStatement* stmt = WorldDatabase.GetPreparedStatement(WORLD_SEL_CREATURE_TEMPLATE);
stmt->setUInt32(0, entry);
stmt->setUInt32(1, 0);
PreparedQueryResult result = WorldDatabase.Query(stmt);
if (!result)