summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-07-17 13:34:19 +0000
committertruelight <truelight@openttd.org>2005-07-17 13:34:19 +0000
commit658f9cb03f9a5ec8a0dd772f6cadf54bf53a627a (patch)
treeb972b387c285fa94e42d87ae90990f1a2b2c769e /openttd.c
parent3ce9fb6bbd0169ace02f6510b151171d914d4414 (diff)
downloadopenttd-658f9cb03f9a5ec8a0dd772f6cadf54bf53a627a.tar.xz
(svn r2602) -Codechange: removed unused variable (disable_computer)
-Fix: Changed some stuff to make server-side AIs possible in the far future
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openttd.c b/openttd.c
index d80f90984..ffdced635 100644
--- a/openttd.c
+++ b/openttd.c
@@ -62,7 +62,6 @@ extern void HalGameLoop(void);
uint32 _pixels_redrawn;
bool _dbg_screen_rect;
-bool disable_computer; // We should get ride of this thing.. is only used for a debug-cheat
static byte _os_version = 0;
/* TODO: usrerror() for errors which are not of an internal nature but
@@ -1032,7 +1031,7 @@ void StateGameLoop(void)
// To bad the AI does not work in multiplayer, because states are not saved
// perfectly
- if (!disable_computer && !_networking)
+ if (!_networking)
RunOtherPlayersLoop();
CallWindowTickEvent();