Fix: Remove various dead or unnecessary assignments

This commit is contained in:
Charles Pigott
2018-10-14 18:17:09 +01:00
committed by frosch
parent f5b1115039
commit e0c0394e37
7 changed files with 8 additions and 15 deletions

View File

@@ -508,7 +508,6 @@ public:
y += FONT_HEIGHT_NORMAL;
/* Get the additional purchase info text, if it has not already been queried. */
str = STR_NULL;
if (HasBit(indsp->callback_mask, CBM_IND_FUND_MORE_TEXT)) {
uint16 callback_res = GetIndustryCallback(CBID_INDUSTRY_FUND_MORE_TEXT, 0, 0, NULL, this->selected_type, INVALID_TILE);
if (callback_res != CALLBACK_FAILED && callback_res != 0x400) {