aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/game/brain_slot.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/game/brain_slot.cpp b/engines/titanic/game/brain_slot.cpp
index 0ab4a633c1..c0eb145d59 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");
}