mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r23759) -Fix (r17612)[FS#4951]: the check for duplicate town names wasn't really working
This commit is contained in:
parent
ee0fcb2567
commit
597ef4e7b1
|
@ -97,7 +97,7 @@ bool VerifyTownName(uint32 r, const TownNameParams *par)
|
|||
GetTownName(buf2, t, lastof(buf2));
|
||||
buf = buf2;
|
||||
}
|
||||
if (strcmp(buf1, buf2) == 0) return false;
|
||||
if (strcmp(buf1, buf) == 0) return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue