[Scummvm-git-logs] scummvm master -> 974f78008d59ec1638d59f6581b388da6b852987
dreammaster
dreammaster at scummvm.org
Mon Feb 20 21:23:58 CET 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:
974f78008d TITANIC: Fix using brain pieces in the wrong slots
Commit: 974f78008d59ec1638d59f6581b388da6b852987
https://github.com/scummvm/scummvm/commit/974f78008d59ec1638d59f6581b388da6b852987
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-02-20T15:23:54-05:00
Commit Message:
TITANIC: Fix using brain pieces in the wrong slots
Changed paths:
engines/titanic/game/brain_slot.cpp
diff --git a/engines/titanic/game/brain_slot.cpp b/engines/titanic/game/brain_slot.cpp
index 0ab4a63..c0eb145 100644
--- a/engines/titanic/game/brain_slot.cpp
+++ b/engines/titanic/game/brain_slot.cpp
@@ -87,15 +87,15 @@ bool CBrainSlot::AddHeadPieceMsg(CAddHeadPieceMsg *msg) {
if (addMsg._value != "NULL")
addMsg.execute("TitaniaControl");
- if (addMsg._value == "OlfactoryCentre")
+ if (msg->_value == "OlfactoryCentre")
loadFrame(2);
- else if (addMsg._value == "AuditoryCentre")
+ else if (msg->_value == "AuditoryCentre")
loadFrame(1);
- else if (addMsg._value == "SpeechCentre")
+ else if (msg->_value == "SpeechCentre")
loadFrame(3);
- else if (addMsg._value == "VisionCentre")
+ else if (msg->_value == "VisionCentre")
loadFrame(4);
- else if (addMsg._value == "CentralCore") {
+ else if (msg->_value == "CentralCore") {
CActMsg actMsg("Insert Central Core");
actMsg.execute("CentralCoreSlot");
}
More information about the Scummvm-git-logs
mailing list