aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-04-18 21:10:32 +0000
committerPaweł Kołodziejski2003-04-18 21:10:32 +0000
commitd0e9fef9a2596f580181990d996d477b70c8182e (patch)
treeab021ed37190dbf48efc180c11d0b1d8f8b93ccc /scumm/script_v5.cpp
parentad7bc9b22fe185f15cd827f2e90a06bdcdc34a15 (diff)
downloadscummvm-rg350-d0e9fef9a2596f580181990d996d477b70c8182e.tar.gz
scummvm-rg350-d0e9fef9a2596f580181990d996d477b70c8182e.tar.bz2
scummvm-rg350-d0e9fef9a2596f580181990d996d477b70c8182e.zip
some changes for indy ega
svn-id: r7019
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r--scumm/script_v5.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 12b86cfdc5..1d383492c5 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -954,7 +954,7 @@ void Scumm_v5::o5_getActorScale() {
return;
// INDY3 uses this opcode as a wait_for_actor();
- if ((_gameId == GID_INDY3_256) || (_features & GF_OLD_BUNDLE)) {
+ if ((_gameId == GID_INDY3_256) || (_gameId == GID_INDY3)) {
byte *oldaddr = _scriptPointer - 1;
if (derefActorSafe(getVarOrDirectByte(0x80), "o5_wait")->moving) {
_scriptPointer = oldaddr;
@@ -986,7 +986,7 @@ void Scumm_v5::o5_getActorX() {
int a;
getResultPos();
- if (_gameId == GID_INDY3_256)
+ if ((_gameId == GID_INDY3_256) || (_gameId == GID_INDY3))
a = getVarOrDirectByte(0x80);
else
a = getVarOrDirectWord(0x80);
@@ -998,7 +998,9 @@ void Scumm_v5::o5_getActorY() {
int a;
getResultPos();
- if (_gameId == GID_INDY3_256) {
+ if (_gameId == GID_INDY3)
+ a = getVarOrDirectByte(0x80);
+ else if (_gameId == GID_INDY3_256) {
a = getVarOrDirectByte(0x80);
// Indy3 hack to cheat the 'Leap of Faith' grail test