(svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting.

This commit is contained in:
rubidium 2008-06-02 23:01:57 +00:00
parent 7b66180d78
commit def3177d3a

View File

@ -2232,6 +2232,7 @@ void IConsoleSetPatchSetting(const char *name, const char *value)
if (sd == NULL) { if (sd == NULL) {
IConsolePrintF(CC_WARNING, "'%s' is an unknown patch setting.", name); IConsolePrintF(CC_WARNING, "'%s' is an unknown patch setting.", name);
return;
} }
bool success; bool success;