mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
HDB: Remove unused static in setButtons
This commit is contained in:
parent
7a05624e1b
commit
feafd2a956
@ -52,14 +52,12 @@ void Input::init() {
|
||||
}
|
||||
|
||||
void Input::setButtons(uint16 b) {
|
||||
static int changeState = 0;
|
||||
|
||||
_buttons = b;
|
||||
if (!b)
|
||||
return;
|
||||
|
||||
// Change Game State
|
||||
if ((_buttons & kButtonA) && !changeState && (g_hdb->getGameState() != GAME_MENU)) {
|
||||
if ((_buttons & kButtonA) && (g_hdb->getGameState() != GAME_MENU)) {
|
||||
if (g_hdb->_ai->cinematicsActive() && g_hdb->_ai->cineAbortable()) {
|
||||
g_hdb->_ai->cineAbort();
|
||||
g_hdb->_sound->playSound(SND_POP);
|
||||
|
Loading…
Reference in New Issue
Block a user