(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically

This commit is contained in:
rubidium
2009-07-20 11:21:57 +00:00
parent dc943b35e0
commit e3053660c6
62 changed files with 520 additions and 520 deletions

View File

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