diff options
| author | Alfred Eriksson <somerunce@gmail.com> | 2009-01-22 17:22:50 +0000 |
|---|---|---|
| committer | Alfred Eriksson <somerunce@gmail.com> | 2009-01-22 17:22:50 +0000 |
| commit | a569d5c0c3260b0fef7a093b4ce4bff64ffd247f (patch) | |
| tree | 437c0f99cf7d0b52aa7ae6dfd1391d7a9b1d0dab /src/game/server | |
| parent | 76bffb13a8ac232c064b8ff04a8bf2fed0f28630 (diff) | |
| download | zcatch-a569d5c0c3260b0fef7a093b4ce4bff64ffd247f.tar.gz zcatch-a569d5c0c3260b0fef7a093b4ce4bff64ffd247f.zip | |
fixed compiling errors
Diffstat (limited to 'src/game/server')
| -rw-r--r-- | src/game/server/hooks.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index dd3cd1ce..92f2e796 100644 --- a/src/game/server/hooks.cpp +++ b/src/game/server/hooks.cpp @@ -87,6 +87,7 @@ void mods_tick() game.tick(); +#ifdef CONF_DEBUG if(config.dbg_dummies) { for(int i = 0; i < config.dbg_dummies ; i++) @@ -96,6 +97,7 @@ void mods_tick() game.players[MAX_CLIENTS-i-1]->on_predicted_input(&input); } } +#endif } void mods_snap(int client_id) @@ -568,6 +570,7 @@ void mods_init() //game.world.insert_entity(game.controller); +#ifdef CONF_DEBUG if(config.dbg_dummies) { for(int i = 0; i < config.dbg_dummies ; i++) @@ -578,6 +581,7 @@ void mods_init() game.players[MAX_CLIENTS-i-1]->team = i&1; } } +#endif } void mods_shutdown() |