summaryrefslogtreecommitdiff
path: root/src/industry_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/industry_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/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index a889d08ed..e758b2fec 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -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);