1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

more guard fix

This commit is contained in:
Zeno Rogue 2019-11-16 14:46:12 +01:00
parent 16f6266b7e
commit fb557282f4

View File

@ -106,11 +106,18 @@ template<> struct saver<ld> : dsaver<ld> {
};
#endif
EX void addparam(ld& val, const string s) {
void addparam(ld& val, const string s);
#endif
#if CAP_CONFIG
void addparam(ld& val, const string s) {
addsaver(val, s);
params.insert({s, val});
}
#else
void addparam(ld& val, const string s) {
params.insert({s, val});
}
#endif
EX ld bounded_mine_percentage = 0.1;