(svn r22231) -Feature(ette): [NewGRF] Make var 0x48 available in CB 0x15C.

This commit is contained in:
frosch 2011-03-10 19:32:24 +00:00
parent 7e74b52d6e
commit 4269170c9b
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ public:
/* Get the extra message for the GUI */
if (HasBit(spec->callback_mask, CBM_OBJ_FUND_MORE_TEXT)) {
uint16 callback_res = GetObjectCallback(CBID_OBJECT_FUND_MORE_TEXT, 0, 0, spec, NULL, INVALID_TILE);
uint16 callback_res = GetObjectCallback(CBID_OBJECT_FUND_MORE_TEXT, 0, 0, spec, NULL, INVALID_TILE, _selected_object_view);
if (callback_res != CALLBACK_FAILED) {
StringID message = GetGRFStringID(spec->grf_prop.grffile->grfid, 0xD000 + callback_res);
if (message != STR_NULL && message != STR_UNDEFINED) {