mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 12:52:25 +01:00
Core. Fix a mishap in the ObjectMgr after the recent changes
This commit is contained in:
@@ -3212,7 +3212,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
uint32 oldMSTime = getMSTime();
|
||||
|
||||
std::string tableName = sWorld->getBoolConfig(CONFIG_START_ALL_SPELLS) ? "playercreateinfo_spell_custom" : "playercreateinfo_spell";
|
||||
QueryResult result = WorldDatabase.PQuery("SELECT race, class, Spell FROM %s", tableName);
|
||||
QueryResult result = WorldDatabase.PQuery("SELECT race, class, Spell FROM %s", tableName.c_str());
|
||||
|
||||
if (!result)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user