GameServer - Added debug traps
This commit is contained in:
parent
208885d4eb
commit
641442854e
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue