summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2014-09-25 16:04:02 +0000
committerpeter1138 <peter1138@openttd.org>2014-09-25 16:04:02 +0000
commite5aec526a75bb0abb3b32f2c5df79dd9fee67304 (patch)
treeb1fe570a6b669e6068feb1da5809de10fc8ff381
parent75cb16a7d79588585540c63f02f09a25994f1604 (diff)
downloadopenttd-e5aec526a75bb0abb3b32f2c5df79dd9fee67304.tar.xz
(svn r26919) -Fix [FS#6096]: Crash when enabling "Full animation" if multiplayer chat text is on screen.
-rw-r--r--src/gfxinit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index 72ded8f76..10bc0afa1 100644
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -18,6 +18,7 @@
#include "transparency.h"
#include "blitter/factory.hpp"
#include "video/video_driver.hpp"
+#include "window_func.h"
/* The type of set we're replacing */
#define SET_TYPE "graphics"
@@ -304,6 +305,7 @@ void CheckBlitter()
ClearFontCache();
GfxClearSpriteCache();
+ ReInitAllWindows();
}
/** Initialise and load all the sprites. */