mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG-- branch : trunk
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user