GameServer - Added debug traps

This commit is contained in:
dean11 2014-02-20 09:23:33 +01:00
parent 208885d4eb
commit 641442854e
1 changed files with 4 additions and 2 deletions

View File

@ -25,8 +25,10 @@ using namespace GameLogic;
Player *player = ((Player*)(rigidBodyPlayer->GetCustomTag())); Player *player = ((Player*)(rigidBodyPlayer->GetCustomTag()));
Object *realObj = (Object*)obj->GetCustomTag(); //needs to be changed? Object *realObj = (Object*)obj->GetCustomTag(); //needs to be changed?
if(!realObj) return; if(!realObj)
if(!player) return; return;
if(!player)
return;
switch (realObj->GetObjectType()) switch (realObj->GetObjectType())
{ {