diff options
author | Paul Gilbert | 2017-07-17 20:16:20 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-07-17 20:16:20 -0400 |
commit | 274eb7f4921df139284d58fa160c628f7013a35d (patch) | |
tree | 6b11310e5c904a991baca71429beca8cc3ea2ba0 /engines/titanic/game/maitred | |
parent | e8e7266214b43e302c5ba0bfd601b79a508e04cd (diff) | |
download | scummvm-rg350-274eb7f4921df139284d58fa160c628f7013a35d.tar.gz scummvm-rg350-274eb7f4921df139284d58fa160c628f7013a35d.tar.bz2 scummvm-rg350-274eb7f4921df139284d58fa160c628f7013a35d.zip |
TITANIC: Don't prod Maitre D's butt just by moving mouse on him
Diffstat (limited to 'engines/titanic/game/maitred')
-rw-r--r-- | engines/titanic/game/maitred/maitred_prod_receptor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/game/maitred/maitred_prod_receptor.cpp b/engines/titanic/game/maitred/maitred_prod_receptor.cpp index 6f64a76d7f..c727366993 100644 --- a/engines/titanic/game/maitred/maitred_prod_receptor.cpp +++ b/engines/titanic/game/maitred/maitred_prod_receptor.cpp @@ -61,6 +61,8 @@ bool CMaitreDProdReceptor::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { } bool CMaitreDProdReceptor::MouseMoveMsg(CMouseMoveMsg *msg) { + if (!getDraggingObject()) + return true; if (_fieldBC == 2 && static_cast<CGameObject *>(getParent())->hasActiveMovie()) return false; else if (++_counter < 20) |