dont' reset sleeps on mapchange (fixes going from multiplayer to singleplayer), debug cleanups

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3167 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-10-21 19:59:40 +00:00
parent 849f7a692b
commit 005b7ee93c
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -6,8 +6,9 @@
#ifdef _DEBUG
bool protocoldbg = false;
#define DEBUGCOND (protocoldbg)
void protocoldebug(bool enable) { protocoldbg = enable; }
extern int networkdebug;
#define DEBUGCOND (protocoldbg && networkdebug==1)
#endif
// all network traffic is in 32bit ints, which are then compressed using the following simple scheme (assumes that most values are small).