mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 00:47:40 +00:00
rogueviz::bringris:: adjusted to new action_states
This commit is contained in:
@@ -1725,11 +1725,13 @@ void run() {
|
|||||||
if(explore && sym == SDLK_BACKSPACE)
|
if(explore && sym == SDLK_BACKSPACE)
|
||||||
explore = false;
|
explore = false;
|
||||||
|
|
||||||
|
auto& act = multi::action_states[1];
|
||||||
|
|
||||||
if(state == tsFalling && !paused) {
|
if(state == tsFalling && !paused) {
|
||||||
multi::handleInput(0, scfg_bringris);
|
multi::handleInput(0, scfg_bringris);
|
||||||
bool consumed = false;
|
bool consumed = false;
|
||||||
for(int i=0; i<bmLast; i++)
|
for(int i=0; i<bmLast; i++)
|
||||||
if(multi::actionspressed[16+i] && !multi::lactionpressed[16+i]) {
|
if(act[i].pressed()) {
|
||||||
bringris_action(i);
|
bringris_action(i);
|
||||||
consumed = true;
|
consumed = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user