diff options
author | QAston <none@none> | 2010-01-18 23:47:26 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-01-18 23:47:26 +0100 |
commit | f5dea61b66a616110cfc82ff640ec448b1efa702 (patch) | |
tree | 67b4296a1da2fccec74b030696c6492a4d228886 /src/game/Debugcmds.cpp | |
parent | 1c5060f4555c1bb58fd6834189d58ce723b59ccf (diff) |
*Remove some of no longer needed debug code.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Debugcmds.cpp')
-rw-r--r-- | src/game/Debugcmds.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/Debugcmds.cpp b/src/game/Debugcmds.cpp index 372afa95d62..ff720872f6b 100644 --- a/src/game/Debugcmds.cpp +++ b/src/game/Debugcmds.cpp @@ -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; } |