(svn r25995) -Fix (r25785) [FS#5801]: [NoGo] GS failed to rename towns. (Zydeco)

pull/155/head
frosch 11 years ago
parent fdba412630
commit e07dccd84f

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

Loading…
Cancel
Save