mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 22:49:39 -04:00
*Remove some of no longer needed debug code.
--HG-- branch : trunk
This commit is contained in:
@@ -794,7 +794,6 @@ 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