aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-08-19 10:05:07 +0000
committerFilippos Karapetis2008-08-19 10:05:07 +0000
commit148ef16d8bf328baa510d4a422d8af608abc5f7f (patch)
tree7a1f644760c6e4d0e8f678dce59de55e68897e36
parent983e07ff6e452d1fcf83fa8f099d36a86d8d3f30 (diff)
downloadscummvm-rg350-148ef16d8bf328baa510d4a422d8af608abc5f7f.tar.gz
scummvm-rg350-148ef16d8bf328baa510d4a422d8af608abc5f7f.tar.bz2
scummvm-rg350-148ef16d8bf328baa510d4a422d8af608abc5f7f.zip
Fixed regression from commit #33576. Fixes bug #2056282 - "DRASCULA: can't use inventory objects"
svn-id: r34028
-rw-r--r--engines/drascula/drascula.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 2d24978f21..35d05ffaa3 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -485,6 +485,7 @@ bool DrasculaEngine::runCurrentChapter() {
#else
if (rightMouseButton == 1 && menuScreen == 1) {
#endif
+ delay(100);
if (currentChapter == 2)
loadPic(menuBackground, backSurface);
else
@@ -525,6 +526,7 @@ bool DrasculaEngine::runCurrentChapter() {
if (leftMouseButton == 1 && menuBar == 1) {
selectVerbFromBar();
} else if (leftMouseButton == 1 && takeObject == 0) {
+ delay(100);
if (verify1())
return true;
} else if (leftMouseButton == 1 && takeObject == 1) {