mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11134] Make GCC happy and restore build at *nix.
This commit is contained in:
parent
da1b616312
commit
3bfe4bbd3b
4 changed files with 5 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue