1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01: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 { } else {
success = false; success = false;
RW_MESSAGE(e.what()); RW_MESSAGE(e.what());
return;
} }
} }
break; break;