[Scummvm-git-logs] scummvm master -> 1ec8d86593487a07bd9766bc86283de5df03b301

dreammaster dreammaster at scummvm.org
Tue Aug 29 04:03:18 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1ec8d86593 TITANIA: Fix light being loose after Bellbot gets Titania's eye


Commit: 1ec8d86593487a07bd9766bc86283de5df03b301
    https://github.com/scummvm/scummvm/commit/1ec8d86593487a07bd9766bc86283de5df03b301
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-08-28T22:03:12-04:00

Commit Message:
TITANIA: Fix light being loose after Bellbot gets Titania's eye

Changed paths:
    engines/titanic/carry/eye.cpp


diff --git a/engines/titanic/carry/eye.cpp b/engines/titanic/carry/eye.cpp
index 148d2ea..9bad0e4 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;
 





More information about the Scummvm-git-logs mailing list