From 1ec8d86593487a07bd9766bc86283de5df03b301 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 28 Aug 2017 22:03:12 -0400 Subject: TITANIA: Fix light being loose after Bellbot gets Titania's eye --- engines/titanic/carry/eye.cpp | 9 ++++++--- 1 file 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; -- cgit v1.2.3