diff options
author | Paul Gilbert | 2017-02-20 15:23:54 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-02-20 15:23:54 -0500 |
commit | 974f78008d59ec1638d59f6581b388da6b852987 (patch) | |
tree | fc0817e43c3506d0f712f089868170079161ef40 /engines | |
parent | 2d1304c69985300f56a81e69e89e5f64960042a0 (diff) | |
download | scummvm-rg350-974f78008d59ec1638d59f6581b388da6b852987.tar.gz scummvm-rg350-974f78008d59ec1638d59f6581b388da6b852987.tar.bz2 scummvm-rg350-974f78008d59ec1638d59f6581b388da6b852987.zip |
TITANIC: Fix using brain pieces in the wrong slots
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/game/brain_slot.cpp | 10 |
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"); } |