summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-07-19 17:17:36 +0000
committerrubidium <rubidium@openttd.org>2010-07-19 17:17:36 +0000
commit73527b7b4506cb7f34ac44a1fbcfbc200c320dbd (patch)
tree4e51a7408d350522bc9021dda1185344176110df /src/genworld.cpp
parent51ca546a9dda04ba3b43a35fc0e751d31204244a (diff)
downloadopenttd-73527b7b4506cb7f34ac44a1fbcfbc200c320dbd.tar.xz
(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r--src/genworld.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index 5ef70655b..b4cab558b 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -62,6 +62,9 @@ ThreadMutex *_genworld_mapgen_mutex = ThreadMutex::New();
/** Rights for the painting */
ThreadMutex *_genworld_paint_mutex = ThreadMutex::New();
+/** Whether we are generating the map or not. */
+bool _generating_world;
+
/**
* Tells if the world generation is done in a thread or not.
* @return the 'threaded' status