Changeset - r9447:7deae5a276a3
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-06-02 23:01:57
rubidium@openttd.org
(svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/settings.cpp
Show inline comments
 
@@ -2232,6 +2232,7 @@ void IConsoleSetPatchSetting(const char 
 

	
 
	if (sd == NULL) {
 
		IConsolePrintF(CC_WARNING, "'%s' is an unknown patch setting.", name);
 
		return;
 
	}
 

	
 
	bool success;
0 comments (0 inline, 0 general)