aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-25 19:50:45 -0400
committerPaul Gilbert2016-10-25 19:50:45 -0400
commit6c54d5e0206a7ec28d6661bfed8da8602aae755b (patch)
tree53d10f6037543a1cf410f9b885bc939fd8287709 /engines/titanic
parent8ec1f77c06da31787b98f14cde4bd3413a00ba9c (diff)
downloadscummvm-rg350-6c54d5e0206a7ec28d6661bfed8da8602aae755b.tar.gz
scummvm-rg350-6c54d5e0206a7ec28d6661bfed8da8602aae755b.tar.bz2
scummvm-rg350-6c54d5e0206a7ec28d6661bfed8da8602aae755b.zip
TITANIC: Fix dragging Photograph
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/carry/carry.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/carry/carry.cpp b/engines/titanic/carry/carry.cpp
index 03798e8713..90e35c8400 100644
--- a/engines/titanic/carry/carry.cpp
+++ b/engines/titanic/carry/carry.cpp
@@ -100,16 +100,16 @@ bool CCarry::MouseDragStartMsg(CMouseDragStartMsg *msg) {
CString name = getName();
if (_fieldE0) {
- if (_visible) {
- CShowTextMsg textMsg("You can't get this.");
- textMsg.execute("PET");
- }
- } else {
if (checkStartDragging(msg)) {
CPassOnDragStartMsg startMsg(msg->_mousePos);
startMsg.execute(this);
return true;
}
+ } else {
+ if (_visible) {
+ CShowTextMsg textMsg("You can't get this.");
+ textMsg.execute("PET");
+ }
}
return false;