diff options
author | Nipun Garg | 2019-07-03 22:57:03 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:10 +0200 |
commit | 5e343d6591a64634dba614d27e8cef0b08ae41f9 (patch) | |
tree | 02c8bd59b6c36cc09df0d3e18bcfdec64ec175c7 /engines | |
parent | 9369775b76951aeb3f24189c43b34bcadf9d897c (diff) | |
download | scummvm-rg350-5e343d6591a64634dba614d27e8cef0b08ae41f9.tar.gz scummvm-rg350-5e343d6591a64634dba614d27e8cef0b08ae41f9.tar.bz2 scummvm-rg350-5e343d6591a64634dba614d27e8cef0b08ae41f9.zip |
HDB: Add checkForTouchplate call
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index ecd5e52b39..56239c80e0 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -2224,6 +2224,9 @@ void AI::movePlayer(uint16 buttons) { case STATE_STANDRIGHT: if (checkForTouchplate(nx, ny)) break; + + if (checkForTouchplate(nx, ny)) + break; if (checkActionList(_player, nx, ny, true)) return; if (checkAutoList(_player, nx, ny)) |