summaryrefslogtreecommitdiff
path: root/town_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'town_cmd.c')
-rw-r--r--town_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c
index cf3a919c6..7691179cf 100644
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -951,7 +951,7 @@ static Town *AllocateTown(void)
Town *t;
FOR_ALL_TOWNS(t) {
if (t->xy == 0) {
- uint index = t->index;
+ TownID index = t->index;
if (t->index > _total_towns)
_total_towns = t->index;