diff options
author | Nipun Garg | 2019-06-29 22:36:56 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:05 +0200 |
commit | c702968984f95ab27f4bd2546282b6586c108308 (patch) | |
tree | 188ba7c06272f29e0c2303da0b85703f6dfb5be0 | |
parent | 42ea7a97b0e562961a6c54140d5ac412fde38974 (diff) | |
download | scummvm-rg350-c702968984f95ab27f4bd2546282b6586c108308.tar.gz scummvm-rg350-c702968984f95ab27f4bd2546282b6586c108308.tar.bz2 scummvm-rg350-c702968984f95ab27f4bd2546282b6586c108308.zip |
HDB: Initialize _buttons
Fixes the BUG where Guy is randomly moving about
the screen
-rw-r--r-- | engines/hdb/input.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp index 0fb4e303bb..8de0cc1e4e 100644 --- a/engines/hdb/input.cpp +++ b/engines/hdb/input.cpp @@ -26,6 +26,7 @@ namespace HDB { bool Input::init() { _stylusDown = false; + _buttons = 0; _keyUp = Common::KEYCODE_UP; _keyDown = Common::KEYCODE_DOWN; |