diff options
Diffstat (limited to 'src/players.cpp')
-rw-r--r-- | src/players.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/players.cpp b/src/players.cpp index 13aff85bc..d1cb86fab 100644 --- a/src/players.cpp +++ b/src/players.cpp @@ -299,7 +299,7 @@ static void GenerateCompanyName(Player *p) t = ClosestTownFromTile(tile, (uint)-1); - if (IS_INT_INSIDE(t->townnametype, SPECSTR_TOWNNAME_START, SPECSTR_TOWNNAME_LAST+1)) { + if (IsInsideMM(t->townnametype, SPECSTR_TOWNNAME_START, SPECSTR_TOWNNAME_LAST+1)) { str = t->townnametype - SPECSTR_TOWNNAME_START + SPECSTR_PLAYERNAME_START; strp = t->townnameparts; |