aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-13 20:59:23 -0400
committerPaul Gilbert2017-10-13 20:59:23 -0400
commit9ac71ca8921d6940bd9e72cfcad2c56957190091 (patch)
tree827ddbd0219c77f10cdfd83c91385eab45e32b20 /engines/titanic
parent75a736bbc86deacad64d9d7fc72901f19ed2846e (diff)
downloadscummvm-rg350-9ac71ca8921d6940bd9e72cfcad2c56957190091.tar.gz
scummvm-rg350-9ac71ca8921d6940bd9e72cfcad2c56957190091.tar.bz2
scummvm-rg350-9ac71ca8921d6940bd9e72cfcad2c56957190091.zip
TITANIC: Show busy cursor when SuccUBus sending or receiving
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/npcs/bilge_succubus.cpp4
-rw-r--r--engines/titanic/npcs/succubus.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/npcs/bilge_succubus.cpp b/engines/titanic/npcs/bilge_succubus.cpp
index 827e39fb4b..49c4190fa5 100644
--- a/engines/titanic/npcs/bilge_succubus.cpp
+++ b/engines/titanic/npcs/bilge_succubus.cpp
@@ -144,7 +144,7 @@ bool CBilgeSuccUBus::PETDeliverMsg(CPETDeliverMsg *msg) {
playMovie(_trayOutStartFrame, _trayOutEndFrame, MOVIE_WAIT_FOR_FINISH);
playMovie(_sneezing1StartFrame, _sneezing1EndFrame, MOVIE_NOTIFY_OBJECT | MOVIE_WAIT_FOR_FINISH);
playMovie(_sneezing2StartFrame, _sneezing2EndFrame, MOVIE_NOTIFY_OBJECT | MOVIE_WAIT_FOR_FINISH);
- incTransitions();
+ lockMouse();
}
} else {
startTalking(this, 230012);
@@ -271,7 +271,7 @@ bool CBilgeSuccUBus::MovieEndMsg(CMovieEndMsg *msg) {
startTalking(this, 150);
CBodyInBilgeRoomMsg bodyMsg;
bodyMsg.execute("Service Elevator Entity");
- decTransitions();
+ unlockMouse();
_sendAction = SA_SENT;
} else {
diff --git a/engines/titanic/npcs/succubus.cpp b/engines/titanic/npcs/succubus.cpp
index b8fddf2079..8cc2e99878 100644
--- a/engines/titanic/npcs/succubus.cpp
+++ b/engines/titanic/npcs/succubus.cpp
@@ -426,7 +426,7 @@ bool CSuccUBus::PETDeliverMsg(CPETDeliverMsg *msg) {
_sendAction = SA_SENT;
_mailPresent = false;
_inProgress = true;
- incTransitions();
+ lockMouse();
if (_isFeathers) {
// The feather has special handling to be rejected by the SuccUBus
@@ -521,7 +521,7 @@ bool CSuccUBus::PETReceiveMsg(CPETReceiveMsg *msg) {
if (_receiveStartFrame >= 0) {
_sendAction = SA_FEATHERS;
_inProgress = true;
- incTransitions();
+ lockMouse();
playMovie(_receiveStartFrame, _receiveEndFrame, MOVIE_NOTIFY_OBJECT);
}
}
@@ -625,7 +625,7 @@ bool CSuccUBus::MovieEndMsg(CMovieEndMsg *msg) {
if (_inProgress) {
_inProgress = false;
- decTransitions();
+ unlockMouse();
}
CSUBTransition transMsg;
@@ -642,7 +642,7 @@ bool CSuccUBus::MovieEndMsg(CMovieEndMsg *msg) {
_mailP = nullptr;
if (_inProgress) {
_inProgress = false;
- decTransitions();
+ unlockMouse();
}
CSUBTransition transMsg;