aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/cdrom.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-07 19:14:25 -0400
committerPaul Gilbert2016-04-07 19:14:25 -0400
commit31934ac4ba62546d66e565e6caa0da0caa666d23 (patch)
tree7e087f38dac878b72e283da2b6add12530a9aafc /engines/titanic/game/cdrom.cpp
parentcdfd9f3703050a36e16455f4bf8c343b36dd4b39 (diff)
downloadscummvm-rg350-31934ac4ba62546d66e565e6caa0da0caa666d23.tar.gz
scummvm-rg350-31934ac4ba62546d66e565e6caa0da0caa666d23.tar.bz2
scummvm-rg350-31934ac4ba62546d66e565e6caa0da0caa666d23.zip
TITANIC: Fleshed out CCDROMTray class
Diffstat (limited to 'engines/titanic/game/cdrom.cpp')
-rw-r--r--engines/titanic/game/cdrom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game/cdrom.cpp b/engines/titanic/game/cdrom.cpp
index d4e4eac4d1..4f4089de73 100644
--- a/engines/titanic/game/cdrom.cpp
+++ b/engines/titanic/game/cdrom.cpp
@@ -55,7 +55,7 @@ bool CCDROM::handleMessage(CMouseDragEndMsg &msg) {
if (msg._dropTarget && msg._dropTarget->getName() == "newComputer") {
CCDROMTray *newTray = dynamic_cast<CCDROMTray *>(getRoom()->findByName("newTray"));
- if (newTray->_state && newTray->_string1 == "None") {
+ if (newTray->_state && newTray->_insertedCD == "None") {
CActMsg actMsg(getName());
actMsg.execute(newTray);
}