summaryrefslogtreecommitdiff
path: root/players.c
diff options
context:
space:
mode:
Diffstat (limited to 'players.c')
-rw-r--r--players.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/players.c b/players.c
index 026bed851..8892d39f8 100644
--- a/players.c
+++ b/players.c
@@ -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);
}
}