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:
parent
b1f3686bdf
commit
39332b61eb
@ -110,7 +110,7 @@ template<> struct saver<ld> : dsaver<ld> {
|
|||||||
|
|
||||||
EX void addparam(ld& val, const string s) {
|
EX void addparam(ld& val, const string s) {
|
||||||
addsaver(val, s);
|
addsaver(val, s);
|
||||||
params.emplace(s, val);
|
params.insert({s, val});
|
||||||
}
|
}
|
||||||
|
|
||||||
EX ld bounded_mine_percentage = 0.1;
|
EX ld bounded_mine_percentage = 0.1;
|
||||||
|
Loading…
Reference in New Issue
Block a user