diff options
author | Colin Snover | 2017-05-20 20:36:59 -0500 |
---|---|---|
committer | Colin Snover | 2017-05-20 21:14:18 -0500 |
commit | d09ae57fd8a22e3b0a3946a028a500c15f05aa0a (patch) | |
tree | 92d42adf8cce9f58aac61acf072729dc9a02224f /engines | |
parent | eda836f21a3331e5a3a1e3c3965081f64a6e64eb (diff) | |
download | scummvm-rg350-d09ae57fd8a22e3b0a3946a028a500c15f05aa0a.tar.gz scummvm-rg350-d09ae57fd8a22e3b0a3946a028a500c15f05aa0a.tar.bz2 scummvm-rg350-d09ae57fd8a22e3b0a3946a028a500c15f05aa0a.zip |
SCI32: Remove bad assertion in relocateSci3
While extremely rare (only Rama script 64948 seems to have this
profile), it *is* possible for an object to have zero properties
(and thus, zero property offsets).
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/object.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sci/engine/object.cpp b/engines/sci/engine/object.cpp index 0ab8449323..386c3e26bf 100644 --- a/engines/sci/engine/object.cpp +++ b/engines/sci/engine/object.cpp @@ -129,7 +129,6 @@ bool Object::relocateSci0Sci21(SegmentId segment, int location, size_t scriptSiz #ifdef ENABLE_SCI32 bool Object::relocateSci3(SegmentId segment, uint32 location, int offset, size_t scriptSize) { - assert(_propertyOffsetsSci3.size()); assert(offset >= 0 && (uint)offset < scriptSize); for (uint i = 0; i < _variables.size(); ++i) { |