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

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:43:00 +02:00
1 parent aefea03ce1
commit 6e26508a77
8 files changed
+15 -15

No files matched your search

+1 -1
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; };