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:
@@ -669,7 +669,7 @@ COMMAND(gamemodedesc, ARG_2STR);
|
||||
|
||||
void resetmap()
|
||||
{
|
||||
resetsleep();
|
||||
//resetsleep();
|
||||
clearminimap();
|
||||
cleardynlights();
|
||||
pruneundos();
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "bot/bot.h"
|
||||
|
||||
VARP(networkdebug, 0, 0, 1);
|
||||
#define DEBUGCOND (networkdebug)
|
||||
#define DEBUGCOND (networkdebug==1)
|
||||
|
||||
extern bool c2sinit, senditemstoserver, watchingdemo;
|
||||
extern string clientpassword;
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user