[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

@ -639,7 +639,8 @@ void GameObject::DeleteFromDB()
return;
}
sMapPersistentStateMgr.DoForAllStatesWithMapId(GetMapId(), GameObjectRespawnDeleteWorker(m_DBTableGuid));
GameObjectRespawnDeleteWorker worker(m_DBTableGuid);
sMapPersistentStateMgr.DoForAllStatesWithMapId(GetMapId(), worker);
sObjectMgr.DeleteGOData(m_DBTableGuid);
WorldDatabase.PExecuteLog("DELETE FROM gameobject WHERE guid = '%u'", m_DBTableGuid);