Core/Globals: Use std::string rather than char* to pass script names around.
(cherry picked from commit b7b49fe35f87e83813466cb302ff17381792e607) Conflicts: src/server/game/Battlegrounds/BattlegroundMgr.cpp src/server/game/Globals/ObjectMgr.cpp
This commit is contained in:
1 parent
23153c8bf1
commit
3a3a6bbfd2
9 files changed
+31
-24
No files matched your search
@@ -131,7 +131,7 @@ void LoadWeatherData()
|
||||
}
|
||||
}
|
||||
|
||||
wzc.ScriptId = sObjectMgr->GetScriptId(fields[13].GetCString());
|
||||
wzc.ScriptId = sObjectMgr->GetScriptId(fields[13].GetString());
|
||||
|
||||
++count;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user