summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-29 16:40:29 +0000
committertron <tron@openttd.org>2005-07-29 16:40:29 +0000
commitf359d1a39470eae65f4a4069b347d8e60a639682 (patch)
treea1e843572836c42daea97f267db294b298f0de37 /openttd.c
parent1a5de9ff9b7af53f9f8306c6a354aaa87779805d (diff)
downloadopenttd-f359d1a39470eae65f4a4069b347d8e60a639682.tar.xz
(svn r2748) Remove unused cruft from the main loop
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openttd.c b/openttd.c
index 2b453693c..6e9b5130a 100644
--- a/openttd.c
+++ b/openttd.c
@@ -521,7 +521,7 @@ int ttd_main(int argc, char* argv[])
}
#endif /* ENABLE_NETWORK */
- while (_video_driver->main_loop() == ML_SWITCHDRIVER) {}
+ _video_driver->main_loop();
JoinOTTDThread();
IConsoleFree();