diff options
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.h')
-rwxr-xr-x | src/server/game/Scripting/ScriptMgr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Scripting/ScriptMgr.h b/src/server/game/Scripting/ScriptMgr.h index bb47304a979..378b9362c5a 100755 --- a/src/server/game/Scripting/ScriptMgr.h +++ b/src/server/game/Scripting/ScriptMgr.h @@ -310,7 +310,7 @@ template<class TMap> class MapScript : public UpdatableScript<TMap> : _mapEntry(sMapStore.LookupEntry(mapId)) { if (!_mapEntry) - sLog.outError("Invalid MapScript for %u; no such map ID.", mapId); + sLog->outError("Invalid MapScript for %u; no such map ID.", mapId); } public: @@ -997,7 +997,7 @@ class ScriptMgr { if (it->second == script) { - sLog.outError("Script '%s' has same memory pointer as '%s'.", + sLog->outError("Script '%s' has same memory pointer as '%s'.", script->GetName().c_str(), it->second->GetName().c_str()); return; @@ -1033,7 +1033,7 @@ class ScriptMgr else { // If the script is already assigned -> delete it! - sLog.outError("Script '%s' already assigned with the same script name, so the script can't work.", + sLog->outError("Script '%s' already assigned with the same script name, so the script can't work.", script->GetName().c_str()); ASSERT(false); // Error that should be fixed ASAP. @@ -1043,7 +1043,7 @@ class ScriptMgr { // The script uses a script name from database, but isn't assigned to anything. if (script->GetName().find("example") == std::string::npos && script->GetName().find("Smart") == std::string::npos) - sLog.outErrorDb("Script named '%s' does not have a script name assigned in database.", + sLog->outErrorDb("Script named '%s' does not have a script name assigned in database.", script->GetName().c_str()); } } |