mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
Fixed some format arg type/value pairs. Other warnings.
This commit is contained in:
parent
715df4e28c
commit
8563b88859
15 changed files with 30 additions and 26 deletions
|
|
@ -997,7 +997,7 @@ bool BattleGround::DelCreature(uint32 type)
|
|||
Creature *cr = HashMapHolder<Creature>::Find(m_BgCreatures[type]);
|
||||
if(!cr)
|
||||
{
|
||||
sLog.outError("Can't find creature guid: %u",m_BgCreatures[type]);
|
||||
sLog.outError("Can't find creature guid: %u",GUID_LOPART(m_BgCreatures[type]));
|
||||
return false;
|
||||
}
|
||||
cr->CleanupsBeforeDelete();
|
||||
|
|
@ -1011,7 +1011,7 @@ bool BattleGround::DelObject(uint32 type)
|
|||
GameObject *obj = HashMapHolder<GameObject>::Find(m_BgObjects[type]);
|
||||
if(!obj)
|
||||
{
|
||||
sLog.outError("Can't find gobject guid: %u",m_BgObjects[type]);
|
||||
sLog.outError("Can't find gobject guid: %u",GUID_LOPART(m_BgObjects[type]));
|
||||
return false;
|
||||
}
|
||||
obj->SetRespawnTime(0); // not save respawn time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue