diff options
author | Travis Howell | 2004-01-02 00:36:20 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-02 00:36:20 +0000 |
commit | 635239d9668b49dea9414b26db78c36a12e4c063 (patch) | |
tree | 41cf49f5530e78d755a5d7180d6d1a7100c03471 /scumm | |
parent | 01427a2d76e6c76b765a81890c96b9206bd81acf (diff) | |
download | scummvm-rg350-635239d9668b49dea9414b26db78c36a12e4c063.tar.gz scummvm-rg350-635239d9668b49dea9414b26db78c36a12e4c063.tar.bz2 scummvm-rg350-635239d9668b49dea9414b26db78c36a12e4c063.zip |
Can be used for The Dig too, lander mini-games works again.
svn-id: r12077
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v6.cpp | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index ba2aff5f3c..ff02be71ab 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2746,36 +2746,7 @@ void ScummEngine_v6::o6_kernelGetFunctions() { 333 = right */ - // FIXME: I guess this is applicable to all engines, but lets avoid - // regressions - if (_gameId == GID_FT) { - push(getKeyState(args[1])); - return; - } - - if ((args[1] == 27) && (_lastKeyHit == 27)) { - push(1); // abort - return; - } - - if ( ((args[1] == 328) || (args[1] == 336) || (args[1] == 13)) && - ((VAR(VAR_LEFTBTN_HOLD)) || (_lastKeyHit == 13) || (_lastKeyHit == 274) || - (_lastKeyHit == 273)) ) { - push(1); // thrust - return; - } - - if (((args[1] == 97) || (args[1] == 331)) && (_lastKeyHit == 276)) { - push(1); // left - return; - } - - if (((args[1] == 115) || (args[1] == 333)) && (_lastKeyHit == 275)) { - push(1); // right - return; - } - - push(0); + push(getKeyState(args[1])); break; case 212: a = derefActor(args[1], "o6_kernelGetFunctions:212"); |