aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorThierry Crozat2016-04-17 23:23:23 +0100
committerThierry Crozat2016-04-17 23:23:23 +0100
commitd05d4263e54ffcd56a2782c58d268cb766212d68 (patch)
tree5a112df9cab1cfefb8424a009a92afd7a0bf532a /engines/drascula
parente44470ab545721f77ce55509de6dcee739f606eb (diff)
downloadscummvm-rg350-d05d4263e54ffcd56a2782c58d268cb766212d68.tar.gz
scummvm-rg350-d05d4263e54ffcd56a2782c58d268cb766212d68.tar.bz2
scummvm-rg350-d05d4263e54ffcd56a2782c58d268cb766212d68.zip
DRASCULA: Remove delay for select verb
The delay, since it updates the mouse position, resulted in a different verb being selected than the one we clicked on when moving the mouse quickly after the clic. This was quite confusing and frustrating. I can't see any reason for this delay and it seems to work well without it. The initial commit adding it indicates this was "for better mouse response", but it added a lot of other delays at the same time, and removing this one doesn't see to impact the mouse response (on the contrary, we get the new cursor quicker).
Diffstat (limited to 'engines/drascula')
-rw-r--r--engines/drascula/drascula.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index d7b1fd6acd..de7027de9e 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -652,7 +652,6 @@ bool DrasculaEngine::runCurrentChapter() {
#endif
if (_leftMouseButton == 1 && _menuBar) {
- delay(100);
selectVerbFromBar();
} else if (_leftMouseButton == 1 && takeObject == 0) {
delay(100);