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:
parent
09e44027cb
commit
d2e59e7128
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user