1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-21 10:13:14 +00:00

rogueviz::bringris:: adjusted to new action_states

This commit is contained in:
Zeno Rogue 2025-02-08 12:07:56 +01:00
parent 09e44027cb
commit d2e59e7128

View File

@ -1725,11 +1725,13 @@ void run() {
if(explore && sym == SDLK_BACKSPACE)
explore = false;
auto& act = multi::action_states[1];
if(state == tsFalling && !paused) {
multi::handleInput(0, scfg_bringris);
bool consumed = false;
for(int i=0; i<bmLast; i++)
if(multi::actionspressed[16+i] && !multi::lactionpressed[16+i]) {
if(act[i].pressed()) {
bringris_action(i);
consumed = true;
}