1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

fixed addparam for old compiler

This commit is contained in:
Zeno Rogue 2019-11-16 03:39:00 +01:00
parent b1f3686bdf
commit 39332b61eb

View File

@ -110,7 +110,7 @@ template<> struct saver<ld> : dsaver<ld> {
EX void addparam(ld& val, const string s) {
addsaver(val, s);
params.emplace(s, val);
params.insert({s, val});
}
EX ld bounded_mine_percentage = 0.1;