summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
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();