diff options
author | Nipun Garg | 2019-06-28 23:36:43 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:04 +0200 |
commit | f41e1999fb6397a8feeb7c105a40d77072ce1123 (patch) | |
tree | fa20a263034536409088687ee54c501634c4a30e /engines/hdb/hdb.cpp | |
parent | 037400ed1bae31704ea7421420ed0686a9af180d (diff) | |
download | scummvm-rg350-f41e1999fb6397a8feeb7c105a40d77072ce1123.tar.gz scummvm-rg350-f41e1999fb6397a8feeb7c105a40d77072ce1123.tar.bz2 scummvm-rg350-f41e1999fb6397a8feeb7c105a40d77072ce1123.zip |
HDB: Add updateMouse() and call it in game loop
Diffstat (limited to 'engines/hdb/hdb.cpp')
-rw-r--r-- | engines/hdb/hdb.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index d73228d39c..d0c65b5c0a 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -451,6 +451,9 @@ Common::Error HDBGame::run() { case Common::EVENT_QUIT: case Common::EVENT_RTL: break; + case Common::EVENT_MOUSEMOVE: + _input->updateMouse(event.mouse.x, event.mouse.y); + break; case Common::EVENT_KEYDOWN: debug("Key was pressed."); break; |