1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 06:52:34 +02:00

config: bail out on invalid values

Avoid srcTree being filled with un-initialized values
such as bools, ints, floats...
This commit is contained in:
Anonymous Maarten 2017-02-17 17:51:06 +01:00 committed by Daniel Evans
parent 66b09a64a5
commit fe156e2984

View File

@ -155,6 +155,7 @@ bool GameConfig::parseConfig(
} else {
success = false;
RW_MESSAGE(e.what());
return;
}
}
break;