*Remove dual ERROR in logs Author: AlexDereka

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-21 14:28:02 -06:00
parent 3fd85fa5cd
commit 59ce40e484
16 changed files with 46 additions and 47 deletions
+2 -2
View File
@@ -1352,7 +1352,7 @@ bool Creature::CreateFromProto(uint32 guidlow, uint32 Entry, uint32 team, const
CreatureInfo const *cinfo = objmgr.GetCreatureTemplate(Entry);
if(!cinfo)
{
sLog.outErrorDb("Error: creature entry %u does not exist.", Entry);
sLog.outErrorDb("Creature entry %u does not exist.", Entry);
return false;
}
m_originalEntry = Entry;
@@ -1395,7 +1395,7 @@ bool Creature::LoadFromDB(uint32 guid, Map *map)
if(!IsPositionValid())
{
sLog.outError("ERROR: Creature (guidlow %d, entry %d) not loaded. Suggested coordinates isn't valid (X: %f Y: %f)",GetGUIDLow(),GetEntry(),GetPositionX(),GetPositionY());
sLog.outError("Creature (guidlow %d, entry %d) not loaded. Suggested coordinates isn't valid (X: %f Y: %f)",GetGUIDLow(),GetEntry(),GetPositionX(),GetPositionY());
return false;
}
//We should set first home position, because then AI calls home movement