diff options
author | Max Horn | 2008-09-25 10:11:06 +0000 |
---|---|---|
committer | Max Horn | 2008-09-25 10:11:06 +0000 |
commit | 1537e162f607610947f1ab0ccdeae31a00caaf36 (patch) | |
tree | cd3a1686da9ff20bb20db0c2ac3ae47a4595921c /engines/scumm/he/script_v90he.cpp | |
parent | c41480bfd4cc992bf50a8fc4ae3ce3cbabffe02a (diff) | |
download | scummvm-rg350-1537e162f607610947f1ab0ccdeae31a00caaf36.tar.gz scummvm-rg350-1537e162f607610947f1ab0ccdeae31a00caaf36.tar.bz2 scummvm-rg350-1537e162f607610947f1ab0ccdeae31a00caaf36.zip |
SCUMM: Moved more stuf from class Actor to ActorHE
svn-id: r34648
Diffstat (limited to 'engines/scumm/he/script_v90he.cpp')
-rw-r--r-- | engines/scumm/he/script_v90he.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp index 607628ea4b..9829d0ecb5 100644 --- a/engines/scumm/he/script_v90he.cpp +++ b/engines/scumm/he/script_v90he.cpp @@ -1615,13 +1615,13 @@ void ScummEngine_v90he::o90_getWizData() { } void ScummEngine_v90he::o90_getActorData() { - Actor *a; + ActorHE *a; int subOp = pop(); int val = pop(); int act = pop(); - a = derefActor(act, "o90_getActorData"); + a = (ActorHE *)derefActor(act, "o90_getActorData"); switch (subOp) { case 1: @@ -2568,13 +2568,13 @@ void ScummEngine_v90he::o90_kernelGetFunctions() { void ScummEngine_v90he::o90_kernelSetFunctions() { int args[29]; int num, tmp; - Actor *a; + ActorHE *a; num = getStackList(args, ARRAYSIZE(args)); switch (args[0]) { case 20: - a = derefActor(args[1], "o90_kernelSetFunctions: 20"); + a = (ActorHE *)derefActor(args[1], "o90_kernelSetFunctions: 20"); queueAuxBlock(a); break; case 21: @@ -2616,7 +2616,7 @@ void ScummEngine_v90he::o90_kernelSetFunctions() { // Remote start script function break; case 1969: - a = derefActor(args[1], "o90_kernelSetFunctions: 1969"); + a = (ActorHE *)derefActor(args[1], "o90_kernelSetFunctions: 1969"); tmp = a->_heCondMask; tmp ^= args[2]; tmp &= 0x7FFF0000; |