summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-05 19:23:19 +0000
committerfrosch <frosch@openttd.org>2010-08-05 19:23:19 +0000
commit01833039bdcbc9f8e79de7e69f2942b3c1cca7d1 (patch)
tree6ace02975bba3b223e6e5db7b4feb9e7604eb037 /src/gfxinit.cpp
parentb2181365b0ec791abcbc0687cf557c6efc326cfb (diff)
downloadopenttd-01833039bdcbc9f8e79de7e69f2942b3c1cca7d1.tar.xz
(svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. changing base graphics, so the cursor does not glitch if it becomes bigger.
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r--src/gfxinit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index 269ee8ade..7cfb6eddf 100644
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -207,6 +207,8 @@ void GfxLoadSprites()
GfxInitSpriteMem();
LoadSpriteTables();
GfxInitPalettes();
+
+ UpdateCursorSize();
}
bool GraphicsSet::FillSetDetails(IniFile *ini, const char *path, const char *full_filename)