aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-03-13 18:27:46 +0100
committerWillem Jan Palenstijn2011-03-13 18:28:01 +0100
commit0360b4ac95e08d6350f63b0801557ebed9a90796 (patch)
treeded526da1ae82e899bb2b59d67874cfdc73b659e /engines/sci/engine
parent787b27a4b1cde2bd8e750b4eb477189565588e28 (diff)
downloadscummvm-rg350-0360b4ac95e08d6350f63b0801557ebed9a90796.tar.gz
scummvm-rg350-0360b4ac95e08d6350f63b0801557ebed9a90796.tar.bz2
scummvm-rg350-0360b4ac95e08d6350f63b0801557ebed9a90796.zip
SCI: Add reference to related bug to comment
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/object.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/object.cpp b/engines/sci/engine/object.cpp
index d8b62fa839..a4e5d47660 100644
--- a/engines/sci/engine/object.cpp
+++ b/engines/sci/engine/object.cpp
@@ -175,13 +175,13 @@ bool Object::initBaseObject(SegManager *segMan, reg_t addr, bool doInitSuperClas
if (_variables.size() != baseObj->getVarCount()) {
warning("Object %04x:%04x varnum doesn't match baseObj's: obj %d, base %d ", PRINT_REG(_pos), _variables.size(), baseObj->getVarCount());
// These objects are probably broken.
- // An example is 'witchCage' in script 200 in KQ5, but also
- // 'girl' in script 216 and 'door' in script 22.
+ // An example is 'witchCage' in script 200 in KQ5 (#3034714),
+ // but also 'girl' in script 216 and 'door' in script 22.
// In LSL3 a number of sound objects trigger this right away.
+ // SQ4-floppy's bug #3037938 also seems related.
// The effect is that a number of its method selectors may be
// treated as variable selectors, causing unpredictable effects.
- // In the case of KQ5/witchCage, this caused bug #3034714.
}
_variables.resize(baseObj->getVarCount());
// Copy base from species class, as we need its selector IDs