Removed debug output

This commit is contained in:
Edward Richardson 2015-02-05 23:53:34 +13:00
parent 1e0a1466a3
commit 291861bf52

View file

@ -1407,17 +1407,11 @@ bool AInventory::CallTryPickup (AActor *toucher, AActor **toucher_return)
Invstack = titem->Inventory; Invstack = titem->Inventory;
if (titem->Owner == this) if (titem->Owner == this)
{ {
Printf("Crantech: %s::CallTryPickup doing transfer of %s\n", GetClass()->TypeName.GetChars(), titem->GetClass()->TypeName.GetChars());
if (!titem->CallTryPickup(toucher)) // The object no longer can exist if (!titem->CallTryPickup(toucher)) // The object no longer can exist
{ {
Printf("Crantech: %s::CallTryPickup, %s is now being destroyed\n", GetClass()->TypeName.GetChars(), titem->GetClass()->TypeName.GetChars());
titem->Destroy(); titem->Destroy();
} }
} }
else
{
Printf("Crantech: %s::CallTryPickup, %s didn't belong to this object\n", GetClass()->TypeName.GetChars(), titem->GetClass()->TypeName.GetChars());
}
} }
} }
} }