Skip to content

Commit

Permalink
Debug|libcommon: Removed old respawn-class debug messages (no longer …
Browse files Browse the repository at this point in the history
…of interest)
  • Loading branch information
danij-deng committed Jun 18, 2013
1 parent f85219a commit e54009d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions doomsday/plugins/common/src/p_start.c
Expand Up @@ -156,10 +156,6 @@ void P_SetPlayerRespawnClass(int plrNum, playerclass_t pc)
assert(pc == PCLASS_PLAYER);
#endif
playerRespawnAsClass[plrNum] = pc;

#ifdef _DEBUG
Con_Message("SetPlayerRespawnClass: plrNum=%i class=%i", plrNum, pc);
#endif
}

playerclass_t P_ClassForPlayerWhenRespawning(int plrNum, boolean clear)
Expand All @@ -170,10 +166,6 @@ playerclass_t P_ClassForPlayerWhenRespawning(int plrNum, boolean clear)
playerclass_t pClass = PCLASS_PLAYER;
#endif

#ifdef _DEBUG
Con_Message("ClassForPlayerWhenRespawning: plrNum=%i reqclass=%i", plrNum, playerRespawnAsClass[plrNum]);
#endif

if(playerRespawnAsClass[plrNum] != -1)
{
pClass = playerRespawnAsClass[plrNum];
Expand All @@ -183,9 +175,6 @@ playerclass_t P_ClassForPlayerWhenRespawning(int plrNum, boolean clear)
playerRespawnAsClass[plrNum] = -1;
}
}
#ifdef _DEBUG
Con_Message("ClassForPlayerWhenRespawning: plrNum=%i actualclass=%i", plrNum, pClass);
#endif

return pClass;
}
Expand Down

0 comments on commit e54009d

Please sign in to comment.