src/players.cpp
changeset 8450 dce58137301f
parent 8427 143b0be22af1
child 8494 88f26cafc858
--- a/src/players.cpp	Sat Nov 24 10:19:56 2007 +0000
+++ b/src/players.cpp	Sat Nov 24 10:38:43 2007 +0000
@@ -299,7 +299,7 @@
 
 	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;