diff options
author | frosch <frosch@openttd.org> | 2010-08-05 19:23:19 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-08-05 19:23:19 +0000 |
commit | 01833039bdcbc9f8e79de7e69f2942b3c1cca7d1 (patch) | |
tree | 6ace02975bba3b223e6e5db7b4feb9e7604eb037 /src/gfxinit.cpp | |
parent | b2181365b0ec791abcbc0687cf557c6efc326cfb (diff) | |
download | openttd-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.cpp | 2 |
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) |