Changeset - r20930:77332499a14e
[Not reviewed]
master
0 1 0
frosch - 11 years ago 2013-11-14 18:04:31
frosch@openttd.org
(svn r25995) -Fix (r25785) [FS#5801]: [NoGo] GS failed to rename towns. (Zydeco)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_town.cpp
Show inline comments
 
@@ -45,7 +45,7 @@
 

	
 
	const char *text = NULL;
 
	if (name != NULL) {
 
		const char *text = name->GetDecodedText();
 
		text = name->GetDecodedText();
 
		EnforcePreconditionEncodedText(false, text);
 
		EnforcePreconditionCustomError(false, ::Utf8StringLength(text) < MAX_LENGTH_TOWN_NAME_CHARS, ScriptError::ERR_PRECONDITION_STRING_TOO_LONG);
 
	}
0 comments (0 inline, 0 general)