1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-28 16:02:53 +00:00

rogueviz:: ads:: have_crashes setting to be disabled in tour

This commit is contained in:
Zeno Rogue 2025-06-22 16:03:26 +02:00
parent 2b8b24e3f5
commit 6dc7a5f079

View File

@ -347,13 +347,15 @@ void ds_fire() {
rocks.emplace_back(std::move(r)); rocks.emplace_back(std::move(r));
} }
bool have_crashes = true;
bool ds_turn(int idelta) { bool ds_turn(int idelta) {
multi::handleInput(idelta, multi::scfg_default); multi::handleInput(idelta, multi::scfg_default);
ld delta = idelta / 1000.; ld delta = idelta / 1000.;
if(!(cmode & sm::NORMAL)) return false; if(!(cmode & sm::NORMAL)) return false;
ds_handle_crashes(); if(have_crashes) ds_handle_crashes();
if(no_param_change && !all_params_default()) no_param_change = false; if(no_param_change && !all_params_default()) no_param_change = false;
auto& act = multi::action_states[1]; auto& act = multi::action_states[1];