diff options
author | peter1138 <peter1138@openttd.org> | 2012-12-25 22:10:43 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2012-12-25 22:10:43 +0000 |
commit | 1ef4f7712dec1142a4ff35f8a59f649a5643156c (patch) | |
tree | fea1ad652b7950220c60eb0914224214e82d942b /src/newgrf_gui.cpp | |
parent | 629efeedb42aab1d679ac0723a1342b03c05af73 (diff) | |
download | openttd-1ef4f7712dec1142a4ff35f8a59f649a5643156c.tar.xz |
(svn r24853) -Fix: Extend widget data member to 32 bits so that sprite IDs >= 2^16 can be used.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index e052cc19c..11896a57d 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -1212,7 +1212,7 @@ struct NewGRFWindow : public Window, NewGRFScanCallback { has_missing |= c->status == GCS_NOT_FOUND; has_compatible |= HasBit(c->flags, GCF_COMPATIBLE); } - uint16 widget_data; + uint32 widget_data; StringID tool_tip; if (has_missing || has_compatible) { widget_data = STR_NEWGRF_SETTINGS_FIND_MISSING_CONTENT_BUTTON; |