From 0360b4ac95e08d6350f63b0801557ebed9a90796 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Sun, 13 Mar 2011 18:27:46 +0100 Subject: SCI: Add reference to related bug to comment --- engines/sci/engine/object.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sci/engine') 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 -- cgit v1.2.3