mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r16161) -Fix (r16128): AILoadConfig() could not handle NULL settings.
This commit is contained in:
parent
53887e07bb
commit
3301afa5c3
@ -1133,7 +1133,7 @@ static void AILoadConfig(IniFile *ini, const char *grpname)
|
||||
continue;
|
||||
}
|
||||
}
|
||||
config->StringToSettings(item->value);
|
||||
if (item->value != NULL) config->StringToSettings(item->value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user