[11134] Make GCC happy and restore build at *nix.

This commit is contained in:
VladimirMangos 2011-02-11 18:10:51 +03:00
parent da1b616312
commit 3bfe4bbd3b
4 changed files with 5 additions and 4 deletions

View file

@ -1374,7 +1374,8 @@ void Creature::DeleteFromDB()
return;
}
sMapPersistentStateMgr.DoForAllStatesWithMapId(GetMapId(), CreatureRespawnDeleteWorker(m_DBTableGuid));
CreatureRespawnDeleteWorker worker (m_DBTableGuid);
sMapPersistentStateMgr.DoForAllStatesWithMapId(GetMapId(), worker);
sObjectMgr.DeleteCreatureData(m_DBTableGuid);