diff options
author | Paul Gilbert | 2017-08-28 22:03:12 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-28 22:03:12 -0400 |
commit | 1ec8d86593487a07bd9766bc86283de5df03b301 (patch) | |
tree | f6692c12daa610627f447388c1c127600216e3eb /engines/titanic | |
parent | d7ca6c3bc1a8cd053bada1d697371382deb0d687 (diff) | |
download | scummvm-rg350-1ec8d86593487a07bd9766bc86283de5df03b301.tar.gz scummvm-rg350-1ec8d86593487a07bd9766bc86283de5df03b301.tar.bz2 scummvm-rg350-1ec8d86593487a07bd9766bc86283de5df03b301.zip |
TITANIA: Fix light being loose after Bellbot gets Titania's eye
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/carry/eye.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/titanic/carry/eye.cpp b/engines/titanic/carry/eye.cpp index 148d2ea154..9bad0e480c 100644 --- a/engines/titanic/carry/eye.cpp +++ b/engines/titanic/carry/eye.cpp @@ -22,9 +22,11 @@ #include "titanic/carry/eye.h" #include "titanic/game/head_slot.h" -#include "titanic/pet_control/pet_control.h" -#include "titanic/game/transport/lift.h" +#include "titanic/game/light.h" #include "titanic/game/television.h" +#include "titanic/game/transport/lift.h" +#include "titanic/pet_control/pet_control.h" + namespace Titanic { @@ -109,7 +111,8 @@ bool CEye::ActMsg(CActMsg *msg) { playSound("z#47.wav"); CActMsg actMsg("Eye Removed"); - actMsg.execute("1stClassState"); + actMsg.execute("1stClassState", CLight::_type, + MSGFLAG_CLASS_DEF | MSGFLAG_SCAN); } else { _eyeFlag = false; |