mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
Later HE 7.1 games need to send virtual x/y mouse vars.
svn-id: r14826
This commit is contained in:
parent
9046906d79
commit
3540014e45
@ -1004,6 +1004,11 @@ void ScummEngine::runInputScript(int a, int cmd, int mode) {
|
||||
args[0] = a;
|
||||
args[1] = cmd;
|
||||
args[2] = mode;
|
||||
// All HE 72+ games but only some HE 71 games.
|
||||
if (_heversion >= 71) {
|
||||
args[3] = VAR(VAR_VIRT_MOUSE_X);
|
||||
args[4] = VAR(VAR_VIRT_MOUSE_Y);
|
||||
}
|
||||
if (verbScript)
|
||||
runScript(verbScript, 0, 0, args);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user