aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Skovlund2010-11-18 21:38:00 +0000
committerLars Skovlund2010-11-18 21:38:00 +0000
commitf0fea21639b003db4e378b3968014737e9999995 (patch)
tree07c102ca343e01b4dc7ccca1c351570fed4c194a
parent1fea2b733cca8c4c6f0b36e930c798091837a059 (diff)
downloadscummvm-rg350-f0fea21639b003db4e378b3968014737e9999995.tar.gz
scummvm-rg350-f0fea21639b003db4e378b3968014737e9999995.tar.bz2
scummvm-rg350-f0fea21639b003db4e378b3968014737e9999995.zip
SCI3: Fix new opcode 0x4e
svn-id: r54347
-rw-r--r--engines/sci/engine/vm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 20889bbee8..d2db895e33 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -1565,7 +1565,7 @@ void run_vm(EngineState *s) {
if (extOpcode == 0x4d)
PUSH32(obj->getInfoSelector());
else if (extOpcode == 0x4e)
- PUSH32(obj->getNameSelector()); // TODO: is this correct?
+ s->r_acc = obj->getSuperClassSelector(); // TODO: is this correct?
// TODO: There are also opcodes in
// here to get the superclass, and possibly the species too.
else