aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/cdrom.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-07-23 17:21:38 -0400
committerPaul Gilbert2016-07-23 17:21:38 -0400
commitd979dcd020d65aa0019d7a53c1dcd8b4f4a0f909 (patch)
treeb4dea5cd29cfe4f19e96b4ac48750a6caf8e0daa /engines/titanic/game/cdrom.cpp
parent00c568e17572ce2ac4e9c97c21c00a734951ae9a (diff)
downloadscummvm-rg350-d979dcd020d65aa0019d7a53c1dcd8b4f4a0f909.tar.gz
scummvm-rg350-d979dcd020d65aa0019d7a53c1dcd8b4f4a0f909.tar.bz2
scummvm-rg350-d979dcd020d65aa0019d7a53c1dcd8b4f4a0f909.zip
TITANIC: Fixes for movie notification, computer game logic cleanup
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 111b090920..cd913d05f7 100644
--- a/engines/titanic/game/cdrom.cpp
+++ b/engines/titanic/game/cdrom.cpp
@@ -62,7 +62,7 @@ bool CCDROM::MouseDragEndMsg(CMouseDragEndMsg *msg) {
if (msg->_dropTarget && msg->_dropTarget->getName() == "newComputer") {
CCDROMTray *newTray = dynamic_cast<CCDROMTray *>(getRoom()->findByName("newTray"));
- if (newTray->_state && newTray->_insertedCD == "None") {
+ if (newTray->_isOpened && newTray->_insertedCD == "None") {
CActMsg actMsg(getName());
actMsg.execute(newTray);
setVisible(false);