(svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.

- The formatting of the industry name can be controlled with the string STR_INDUSTRY_FORMAT.
Change: Changed several occurences of {STRING1} into {TOWN} to get rid of townnametype being used directly.
This commit is contained in:
ludde
2005-07-15 18:30:13 +00:00
parent 843670cfdf
commit dc3ca73bd5
33 changed files with 3495 additions and 3511 deletions

View File

@@ -262,8 +262,8 @@ void GetNameOfOwner(byte owner, TileIndex tile)
}
} else {
Town *t = ClosestTownFromTile(tile, (uint)-1);
SetDParam(0, t->townnametype);
SetDParam(1, t->townnameparts);
SetDParam(0, STR_TOWN);
SetDParam(1, t->index);
}
}