summaryrefslogtreecommitdiff
path: root/src/unmovable_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-05-21 22:15:39 +0000
committerfrosch <frosch@openttd.org>2008-05-21 22:15:39 +0000
commit7f80552293c164b9e19707ef601edbe1d1f28806 (patch)
tree62b63bf8a41a39d8f1a47c54975f356368304e1f /src/unmovable_cmd.cpp
parent42f78d2fc3855b0d358197745b0d0ba099ef066c (diff)
downloadopenttd-7f80552293c164b9e19707ef601edbe1d1f28806.tar.xz
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
Diffstat (limited to 'src/unmovable_cmd.cpp')
-rw-r--r--src/unmovable_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp
index b949736f3..61ab5fe9b 100644
--- a/src/unmovable_cmd.cpp
+++ b/src/unmovable_cmd.cpp
@@ -312,7 +312,7 @@ static void GetTileDesc_Unmovable(TileIndex tile, TileDesc *td)
case UNMOVABLE_OWNED_LAND: td->str = STR_5805_COMPANY_OWNED_LAND; break;
default: td->str = STR_5803_COMPANY_HEADQUARTERS; break;
}
- td->owner = GetTileOwner(tile);
+ td->owner[0] = GetTileOwner(tile);
}
static void AnimateTile_Unmovable(TileIndex tile)