*Add some debug info to trac reason of assertion fail in Unit destructor.
--HG-- branch : trunk
This commit is contained in:
1 parent
844c09fc61
commit
9a7746c9fc
11 files changed
+26
-5
No files matched your search
@@ -794,6 +794,7 @@ bool ChatHandler::HandleDebugSpawnVehicle(const char* args)
|
||||
|
||||
if(!v->Create(objmgr.GenerateLowGuid(HIGHGUID_VEHICLE), map, m_session->GetPlayer()->GetPhaseMask(), entry, id, m_session->GetPlayer()->GetTeam(), x, y, z, o))
|
||||
{
|
||||
v->CleanupsBeforeDelete();
|
||||
delete v;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user