(svn r23759) -Fix (r17612)[FS#4951]: the check for duplicate town names wasn't really working
This commit is contained in:
@@ -97,7 +97,7 @@ bool VerifyTownName(uint32 r, const TownNameParams *par)
|
|||||||
GetTownName(buf2, t, lastof(buf2));
|
GetTownName(buf2, t, lastof(buf2));
|
||||||
buf = buf2;
|
buf = buf2;
|
||||||
}
|
}
|
||||||
if (strcmp(buf1, buf2) == 0) return false;
|
if (strcmp(buf1, buf) == 0) return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user