aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/drascula.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2008-08-25 15:58:45 +0000
committerFilippos Karapetis2008-08-25 15:58:45 +0000
commite2fe740e358d3a5d0953ef31ec21b2ee56c516c0 (patch)
treeb45bf5bf5dca86abf9894ab4ee876cbcd22b724b /engines/drascula/drascula.cpp
parenta6c931459be0b9fd9122bf67d1ac2296512496ac (diff)
downloadscummvm-rg350-e2fe740e358d3a5d0953ef31ec21b2ee56c516c0.tar.gz
scummvm-rg350-e2fe740e358d3a5d0953ef31ec21b2ee56c516c0.tar.bz2
scummvm-rg350-e2fe740e358d3a5d0953ef31ec21b2ee56c516c0.zip
Fix for original game bug with the wall plug in chapter 5.
Fixes bug #2059621 - DRASCULA: Plug bug svn-id: r34160
Diffstat (limited to 'engines/drascula/drascula.cpp')
-rw-r--r--engines/drascula/drascula.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 2a72453b88..12c1a4c3d6 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -505,7 +505,12 @@ bool DrasculaEngine::runCurrentChapter() {
} else {
#else
}
- if (rightMouseButton == 1 && menuScreen == 0) {
+
+ // Do not show the inventory screen in chapter 5, if the right mouse button is clicked
+ // while the plug (object 16) is held
+ // Fixes bug #2059621 - "DRASCULA: Plug bug"
+ if (rightMouseButton == 1 && menuScreen == 0 &&
+ !(currentChapter == 5 && pickedObject == 16)) {
#endif
delay(100);
characterMoved = 0;