aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2016-02-24 11:35:11 +0100
committerEugene Sandulenko2016-02-24 11:35:11 +0100
commit8295f7f0ff17ec94bd9dc7709a4ace92c7816a86 (patch)
treec572b49028d7deac69f561370354c3a08ee040c3 /engines/wage
parent3cb1877b4508d16e9160ccd170eff4e8c0965627 (diff)
downloadscummvm-rg350-8295f7f0ff17ec94bd9dc7709a4ace92c7816a86.tar.gz
scummvm-rg350-8295f7f0ff17ec94bd9dc7709a4ace92c7816a86.tar.bz2
scummvm-rg350-8295f7f0ff17ec94bd9dc7709a4ace92c7816a86.zip
WAGE: Fixed crash in Double Trouble. Needs more work.
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/design.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp
index 3ecb02ef08..2a63436f5a 100644
--- a/engines/wage/design.cpp
+++ b/engines/wage/design.cpp
@@ -275,7 +275,9 @@ void Design::drawPolygon(Graphics::Surface *surface, Common::ReadStream &in,
Patterns &patterns, byte fillType, byte borderThickness, byte borderFillType) {
byte ignored = in.readSint16BE(); // ignored
- assert(ignored == 0);
+
+ if (ignored)
+ warning("Ignored: %d", ignored);
int numBytes = in.readSint16BE(); // #bytes used by polygon data, including the numBytes
int16 by1 = in.readSint16BE();