Skip to content

Commit

Permalink
Removed a debug message from release build
Browse files Browse the repository at this point in the history
NetSv_SendPlayerSpawnPosition() was always printing a
debug message regardless of build type.
  • Loading branch information
skyjake committed Dec 2, 2011
1 parent 38ef409 commit 0975950
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/plugins/common/src/d_netsv.c
Expand Up @@ -908,8 +908,10 @@ void NetSv_SendPlayerSpawnPosition(int plrNum, float x, float y, float z, int an

if(!IS_SERVER) return;

#ifdef _DEBUG
Con_Message("NetSv_SendPlayerSpawnPosition: player %i at %f, %f, %f facing %x\n",
plrNum, x, y, z, angle);
#endif

writer = D_NetWrite();
Writer_WriteFloat(writer, x);
Expand Down

0 comments on commit 0975950

Please sign in to comment.