diff options
author | Filippos Karapetis | 2008-08-25 15:58:45 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-08-25 15:58:45 +0000 |
commit | e2fe740e358d3a5d0953ef31ec21b2ee56c516c0 (patch) | |
tree | b45bf5bf5dca86abf9894ab4ee876cbcd22b724b | |
parent | a6c931459be0b9fd9122bf67d1ac2296512496ac (diff) | |
download | scummvm-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
-rw-r--r-- | engines/drascula/drascula.cpp | 7 | ||||
-rw-r--r-- | engines/drascula/rooms.cpp | 5 |
2 files changed, 9 insertions, 3 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; diff --git a/engines/drascula/rooms.cpp b/engines/drascula/rooms.cpp index 37dddf4b7e..038391ac39 100644 --- a/engines/drascula/rooms.cpp +++ b/engines/drascula/rooms.cpp @@ -815,10 +815,11 @@ bool DrasculaEngine::room_53(int fl) { flags[2] = 1; withoutVerb(); updateVisible(); + pickedObject = kVerbMove; } else if (pickedObject == 16) { - talk(439); - withoutVerb(); + // Wall plug in chapter 5 visible[3] = 1; + hasAnswer = 0; } else hasAnswer = 0; |