(svn r23759) -Fix (r17612)[FS#4951]: the check for duplicate town names wasn't really working

This commit is contained in:
smatz 2012-01-05 19:56:48 +00:00
parent ee0fcb2567
commit 597ef4e7b1
1 changed files with 1 additions and 1 deletions

View File

@ -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;