[Scummvm-tracker] [ScummVM :: Bugs] #3799: DRASCULA: slowdown when you hold mouse buttons
ScummVM :: Bugs
trac at scummvm.org
Sun Jun 12 11:31:49 UTC 2022
#3799: DRASCULA: slowdown when you hold mouse buttons
---------------------------+-------------------------------
Reporter: SF/glorifindel | Owner: sev-
Type: defect | Status: new
Priority: normal | Component: Engine: Drascula
Version: | Resolution:
Keywords: slowdown,mouse | Game: Drascula
---------------------------+-------------------------------
Comment (by eriktorbjorn):
This code in drascula.cpp seems to be responsible for the slowdown:
```
if (_leftMouseButton == 1 && _menuBar) {
selectVerbFromBar();
} else if (_leftMouseButton == 1 && takeObject == 0) {
if (verify1())
return true;
delay(100);
} else if (_leftMouseButton == 1 && takeObject == 1) {
if (verify2())
return true;
}
```
When I try it, it enters the case where it calls delay(100) I don't know
the purpose of that, though
--
Ticket URL: <https://bugs.scummvm.org/ticket/3799#comment:13>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list