summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-05 09:15:41 +0000
committertron <tron@openttd.org>2005-08-05 09:15:41 +0000
commit4696ef802a1c3b037a07a841945d73b52720a163 (patch)
tree4db884818a15ec2dc30fe1f1e660bded27872dae /openttd.c
parent4f9b0d5f294a86cc3f041b3acaf1b1623afb277e (diff)
downloadopenttd-4696ef802a1c3b037a07a841945d73b52720a163.tar.xz
(svn r2809) Implement more generic threading functions, which allow more than one thread
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 15262f8e4..f5659562b 100644
--- a/openttd.c
+++ b/openttd.c
@@ -507,7 +507,7 @@ int ttd_main(int argc, char* argv[])
_video_driver->main_loop();
- JoinOTTDThread();
+ WaitTillSaved();
IConsoleFree();
#ifdef ENABLE_NETWORK