summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
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