|
|
@ -1128,13 +1128,13 @@ protected:
|
|
|
|
static char buf_cache[96];
|
|
|
|
static char buf_cache[96];
|
|
|
|
static char buf[96];
|
|
|
|
static char buf[96];
|
|
|
|
|
|
|
|
|
|
|
|
SetDParam(0, (*a)->town->index);
|
|
|
|
SetDParam(0, (*a)->index);
|
|
|
|
GetString(buf, STR_TOWN_NAME, lastof(buf));
|
|
|
|
GetString(buf, STR_INDUSTRY_NAME, lastof(buf));
|
|
|
|
|
|
|
|
|
|
|
|
if (*b != last_industry) {
|
|
|
|
if (*b != last_industry) {
|
|
|
|
last_industry = *b;
|
|
|
|
last_industry = *b;
|
|
|
|
SetDParam(0, (*b)->town->index);
|
|
|
|
SetDParam(0, (*b)->index);
|
|
|
|
GetString(buf_cache, STR_TOWN_NAME, lastof(buf_cache));
|
|
|
|
GetString(buf_cache, STR_INDUSTRY_NAME, lastof(buf_cache));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return strcmp(buf, buf_cache);
|
|
|
|
return strcmp(buf, buf_cache);
|
|
|
|