diff options
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/sdl_v.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index 1cb6d828b..15c3ef37d 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -21,6 +21,7 @@ #include "../network/network.h" #include "../functions.h" #include "../thread/thread.h" +#include "../genworld.h" #include "sdl_v.h" #include <SDL.h> @@ -572,7 +573,7 @@ void VideoDriver_SDL::MainLoop() } /* End of the critical part. */ - if (_draw_threaded) { + if (_draw_threaded && !IsGeneratingWorld()) { _draw_mutex->SendSignal(); } else { /* Oh, we didn't have threads, then just draw unthreaded */ |