Changeset - r18900:9cf7ff6590c4
[Not reviewed]
master
0 1 0
smatz - 13 years ago 2012-01-05 19:56:48
smatz@openttd.org
(svn r23759) -Fix (r17612)[FS#4951]: the check for duplicate town names wasn't really working
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/townname.cpp
Show inline comments
 
@@ -94,13 +94,13 @@ bool VerifyTownName(uint32 r, const Town
 
		 * several numbers may map to a single name. */
 
		const char *buf = t->name;
 
		if (buf == NULL) {
 
			GetTownName(buf2, t, lastof(buf2));
 
			buf = buf2;
 
		}
 
		if (strcmp(buf1, buf2) == 0) return false;
 
		if (strcmp(buf1, buf) == 0) return false;
 
	}
 

	
 
	return true;
 
}
 

	
 

	
0 comments (0 inline, 0 general)