From c49e7ab73ff6575419a9d781c94287e174c6f1c7 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 3 Aug 2008 12:02:09 +0000 Subject: Fix bug #2011470: "DRASCULA: slowdown when you hold mouse buttons" svn-id: r33576 --- engines/drascula/drascula.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index f25c24ed58..7c843892b6 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -457,13 +457,13 @@ bool DrasculaEngine::runCurrentChapter() { playMusic(roomMusic); } + delay(25); updateEvents(); if (menuScreen == 0 && takeObject == 1) checkObjects(); if (rightMouseButton == 1 && menuScreen == 1) { - delay(100); if (currentChapter == 2) loadPic(menuBackground, backSurface); else @@ -473,7 +473,6 @@ bool DrasculaEngine::runCurrentChapter() { updateEvents(); } if (rightMouseButton == 1 && menuScreen == 0) { - delay(100); characterMoved = 0; if (trackProtagonist == 2) trackProtagonist = 1; @@ -491,10 +490,8 @@ bool DrasculaEngine::runCurrentChapter() { } if (leftMouseButton == 1 && menuBar == 1) { - delay(100); selectVerbFromBar(); } else if (leftMouseButton == 1 && takeObject == 0) { - delay(100); if (verify1()) return true; } else if (leftMouseButton == 1 && takeObject == 1) { -- cgit v1.2.3