HDB: Initialize _buttons

Fixes the BUG where Guy is randomly moving about
the screen
This commit is contained in:
Nipun Garg 2019-06-29 22:36:56 +05:30 committed by Eugene Sandulenko
parent 42ea7a97b0
commit c702968984

View file

@ -26,6 +26,7 @@ namespace HDB {
bool Input::init() {
_stylusDown = false;
_buttons = 0;
_keyUp = Common::KEYCODE_UP;
_keyDown = Common::KEYCODE_DOWN;