summaryrefslogtreecommitdiff
path: root/namegen.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2005-01-03 11:45:11 +0000
committerdominik <dominik@openttd.org>2005-01-03 11:45:11 +0000
commit60ba9c328085844e5c6ffe51bf5819999b2e59d8 (patch)
tree186c7e397e621f8938d7a9489aff5ee3d75e292f /namegen.c
parent7e89cd8643b7fc717cf4695bbb4fc83488eaa302 (diff)
downloadopenttd-60ba9c328085844e5c6ffe51bf5819999b2e59d8.tar.xz
(svn r1333) Fix: No crash when creating a game with American town names any more
Diffstat (limited to 'namegen.c')
-rw-r--r--namegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/namegen.c b/namegen.c
index 2b61c77cc..4336549fd 100644
--- a/namegen.c
+++ b/namegen.c
@@ -89,7 +89,7 @@ static byte MakeEnglishAdditionalTownName(byte *buf, uint32 seed)
}
else
{
- strcat(buf, name_additional_english_1b3b[GetNumberBasedOnSeed(12, lengthof(name_additional_english_1b3a), seed)]);
+ strcat(buf, name_additional_english_1b3b[GetNumberBasedOnSeed(12, lengthof(name_additional_english_1b3b), seed)]);
}
}