(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.

This commit is contained in:
frosch
2008-05-21 22:15:39 +00:00
parent 510c0acb4a
commit eca692ef90
15 changed files with 139 additions and 44 deletions

View File

@@ -377,7 +377,7 @@ static void GetTileDesc_Industry(TileIndex tile, TileDesc *td)
{
const Industry *i = GetIndustryByTile(tile);
td->owner = i->owner;
td->owner[0] = i->owner;
td->str = GetIndustrySpec(i->type)->name;
if (!IsIndustryCompleted(tile)) {
SetDParamX(td->dparam, 0, td->str);