Core/Misc: Random changes here and there to minimize differences with 4.3.4 branch

This commit is contained in:
Spp committed 2012-11-27 13:03:12 +01:00
1 parent 2251d1bfae
commit e954498560
94 files changed
+976 -951

No files matched your search

+1 -2
View File
@@ -63,7 +63,7 @@ ChatCommand* ChatHandler::getCommandTable()
// cache for commands, needed because some commands are loaded dynamically through ScriptMgr
// cache is never freed and will show as a memory leak in diagnostic tools
// can't use vector as vector storage is implementation-dependent, eg, there can be alignment gaps between elements
static ChatCommand* commandTableCache = 0;
static ChatCommand* commandTableCache = NULL;
if (LoadCommandTable())
{
@@ -96,7 +96,6 @@ ChatCommand* ChatHandler::getCommandTable()
std::string name = fields[0].GetString();
SetDataForCommandInTable(commandTableCache, name.c_str(), fields[1].GetUInt8(), fields[2].GetString(), name);
}
while (result->NextRow());
}