diff --git a/debug.cpp b/debug.cpp index 3bb9892d..8c81bcc1 100644 --- a/debug.cpp +++ b/debug.cpp @@ -168,7 +168,7 @@ vector cheats = { cheatkey{'R'-64, "advance the rose wave", buildRosemap}, #if CAP_EDIT cheatkey{'A', "start the Map Editor", [] { - lastexplore = turncount; + lastexplore = shmup::on ? shmup::curtime : turncount; pushScreen(mapeditor::showMapEditor); }}, cheatkey{'A'-64, "start the Vector Graphics Editor", [] { diff --git a/menus.cpp b/menus.cpp index 8132507d..a68e1a31 100644 --- a/menus.cpp +++ b/menus.cpp @@ -331,7 +331,7 @@ EX void showCreative() { dialog::cheat_if_confirmed([] { cheater++; pushScreen(mapeditor::showMapEditor); - lastexplore = turncount; + lastexplore = shmup::on ? shmup::curtime : turncount; addMessage(XLAT("You activate your terraforming powers!")); }); }); diff --git a/rogueviz/fifteen.cpp b/rogueviz/fifteen.cpp index 7db45597..e76218a2 100644 --- a/rogueviz/fifteen.cpp +++ b/rogueviz/fifteen.cpp @@ -167,7 +167,7 @@ bool fifteen3 = true; bool draw_fifteen(cell *c, const shiftmatrix& V) { hr::addaura(tC0(V), darkened(0x0000FF), 0); - lastexplore = turncount; + lastexplore = shmup::on ? shmup::curtime : turncount; if(!fif.count(c)) { c->land = laNone; c->wall = waChasm; c->item = itNone; c->monst = moNone; return false; } check_move();