mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
*Update to Mangos 7072.
*Remove some duplicated functions of possess. --HG-- branch : trunk
This commit is contained in:
@@ -2325,7 +2325,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
if(sWorld.getConfig(CONFIG_START_ALL_SPELLS))
|
||||
result = WorldDatabase.Query("SELECT race, class, Spell, Active FROM playercreateinfo_spell_custom");
|
||||
else
|
||||
result = WorldDatabase.Query("SELECT race, class, Spell, Active FROM playercreateinfo_spell");
|
||||
result = WorldDatabase.Query("SELECT race, class, Spell FROM playercreateinfo_spell");
|
||||
|
||||
uint32 count = 0;
|
||||
|
||||
@@ -2360,7 +2360,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
}
|
||||
|
||||
PlayerInfo* pInfo = &playerInfo[current_race][current_class];
|
||||
pInfo->spell.push_back(CreateSpellPair(fields[2].GetUInt16(), fields[3].GetUInt8()));
|
||||
pInfo->spell.push_back(fields[2].GetUInt32());
|
||||
|
||||
bar.step();
|
||||
++count;
|
||||
|
||||
Reference in New Issue
Block a user