Mercurial > hg > openttd
diff src/newgrf_gui.cpp @ 19919:2a12d5271d09 draft
(svn r24853) -Fix: Extend widget data member to 32 bits so that sprite IDs >= 2^16 can be used.
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Tue, 25 Dec 2012 22:10:43 +0000 |
parents | 9c28125866da |
children | 0dba7f49118c |
line wrap: on
line diff
--- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -1212,7 +1212,7 @@ 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;