1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 13:32:59 +00:00

rogueviz::ads:: better handling of param changes

This commit is contained in:
Zeno Rogue
2025-04-06 09:45:55 +02:00
parent 8fe5b5bed2
commit aa6727c564
7 changed files with 17 additions and 8 deletions

View File

@@ -153,12 +153,13 @@ ld read_movement() {
bool ads_turn(int idelta) {
multi::handleInput(idelta, multi::scfg_default);
ld delta = idelta / 1000.;
if(!(cmode & sm::NORMAL)) return false;
hybrid::in_actual([&] {
handle_crashes();
if(no_param_change && !all_params_default()) no_param_change = false;
auto& act = multi::action_states[1];