diff options
author | Paul Gilbert | 2017-08-16 22:21:44 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-16 22:21:44 -0400 |
commit | f1e42b6af01039a18a2bf557313c95b4154251a8 (patch) | |
tree | 6b2bede415713417ec20550f93532de32fbd70e2 /engines | |
parent | 6c667a013dd6f2fdd4812694e19e472869b5e832 (diff) | |
download | scummvm-rg350-f1e42b6af01039a18a2bf557313c95b4154251a8.tar.gz scummvm-rg350-f1e42b6af01039a18a2bf557313c95b4154251a8.tar.bz2 scummvm-rg350-f1e42b6af01039a18a2bf557313c95b4154251a8.zip |
TITANIC: Fix hose pickup cursor when loading savegame with cover open
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/game/pickup/pick_up_hose.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/titanic/game/pickup/pick_up_hose.cpp b/engines/titanic/game/pickup/pick_up_hose.cpp index 442c43f9b0..548caaf48f 100644 --- a/engines/titanic/game/pickup/pick_up_hose.cpp +++ b/engines/titanic/game/pickup/pick_up_hose.cpp @@ -21,6 +21,7 @@ */ #include "titanic/game/pickup/pick_up_hose.h" +#include "titanic/game/broken_pell_base.h" #include "titanic/core/project_item.h" #include "titanic/core/room_item.h" #include "titanic/core/view_item.h" @@ -95,7 +96,8 @@ bool CPickUpHose::StatusChangeMsg(CStatusChangeMsg *msg) { } bool CPickUpHose::EnterViewMsg(CEnterViewMsg *msg) { - _cursorId = CURSOR_IGNORE; + if (msg->_oldView) + _cursorId = CURSOR_IGNORE; return true; } |