aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-16 22:21:44 -0400
committerPaul Gilbert2017-08-16 22:21:44 -0400
commitf1e42b6af01039a18a2bf557313c95b4154251a8 (patch)
tree6b2bede415713417ec20550f93532de32fbd70e2 /engines
parent6c667a013dd6f2fdd4812694e19e472869b5e832 (diff)
downloadscummvm-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.cpp4
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;
}