Skip to content

Commit

Permalink
DRASCULA: Remove delay for select verb
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
criezy committed Apr 17, 2016
1 parent bc2f133 commit e289b6f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion engines/drascula/drascula.cpp
Expand Up @@ -663,7 +663,6 @@ bool DrasculaEngine::runCurrentChapter() {
#endif

if (_leftMouseButton == 1 && _menuBar) {
delay(100);
selectVerbFromBar();
} else if (_leftMouseButton == 1 && takeObject == 0) {
delay(100);
Expand Down

0 comments on commit e289b6f

Please sign in to comment.