aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/carry
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-19 22:44:25 -0400
committerPaul Gilbert2017-08-19 22:44:25 -0400
commitc4f48f35c6ed399dbd1930589c55b4135fc327b4 (patch)
tree55e776d84265f3c00f0f7db5cbb0c7dd4f16f17d /engines/titanic/carry
parent411abee2d07f5344f39b4033cf0b185b21aaf1b2 (diff)
downloadscummvm-rg350-c4f48f35c6ed399dbd1930589c55b4135fc327b4.tar.gz
scummvm-rg350-c4f48f35c6ed399dbd1930589c55b4135fc327b4.tar.bz2
scummvm-rg350-c4f48f35c6ed399dbd1930589c55b4135fc327b4.zip
TITANIC: Fix flagging of mouth and vision centre inserting in Titania
Diffstat (limited to 'engines/titanic/carry')
-rw-r--r--engines/titanic/carry/mouth.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/carry/mouth.cpp b/engines/titanic/carry/mouth.cpp
index d750fc969e..1b2830b99e 100644
--- a/engines/titanic/carry/mouth.cpp
+++ b/engines/titanic/carry/mouth.cpp
@@ -74,6 +74,11 @@ bool CMouth::PETGainedObjectMsg(CPETGainedObjectMsg *msg) {
_field13C = true;
}
+ // WORKAROUND: If Mouth is removed from Titania after inserting,
+ // message the Titania control so it can be flagged as removed
+ CTakeHeadPieceMsg headpieceMsg(getName());
+ headpieceMsg.execute("TitaniaControl");
+
return true;
}