summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'oldloader.c')
-rw-r--r--oldloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c
index d84ce5e9a..66343784f 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -587,7 +587,7 @@ extern uint32 GetOldTownName(uint32 townnameparts, byte old_town_name_type);
static void FixTown(OldTown *o, int num, byte town_name_type)
{
Town *t;
- uint i;
+ uint i = 0;
do {
t = GetTown(i);