HDB: Initialize _buttons
Fixes the BUG where Guy is randomly moving about the screen
This commit is contained in:
parent
42ea7a97b0
commit
c702968984
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ namespace HDB {
|
|||
|
||||
bool Input::init() {
|
||||
_stylusDown = false;
|
||||
_buttons = 0;
|
||||
|
||||
_keyUp = Common::KEYCODE_UP;
|
||||
_keyDown = Common::KEYCODE_DOWN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue