1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 19:18:05 +00:00

replaced some instances of double to ld, so that everything compiles when ld is redefined to float

This commit is contained in:
Zeno Rogue
2019-05-04 18:28:03 +02:00
parent aefea03ce1
commit 6e26508a77
8 changed files with 15 additions and 15 deletions

View File

@@ -353,7 +353,7 @@ struct debugScreen {
dialog::addSelItem("land param (hex)", itsh8(what->landparam), 0);
dialog::addSelItem("land param (heat)", fts(HEAT(what)), 't');
dialog::add_action([what] () {
static double d = HEAT(what);
static ld d = HEAT(what);
dialog::editNumber(d, -2, 2, 0.1, d, "landparam",
"Extra value that is important in some lands. The specific meaning depends on the land.");
dialog::reaction = [what] () { HEAT(what) = d; };