mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-05 22:04:57 +00:00
(svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting.
This commit is contained in:
parent
7b66180d78
commit
def3177d3a
@ -2232,6 +2232,7 @@ void IConsoleSetPatchSetting(const char *name, const char *value)
|
||||
|
||||
if (sd == NULL) {
|
||||
IConsolePrintF(CC_WARNING, "'%s' is an unknown patch setting.", name);
|
||||
return;
|
||||
}
|
||||
|
||||
bool success;
|
||||
|
Loading…
Reference in New Issue
Block a user