mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r25995) -Fix (r25785) [FS#5801]: [NoGo] GS failed to rename towns. (Zydeco)
This commit is contained in:
parent
37633d5da1
commit
e044bd8a73
@ -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…
Reference in New Issue
Block a user