[Scummvm-cvs-logs] scummvm master -> 8295f7f0ff17ec94bd9dc7709a4ace92c7816a86
sev-
sev at scummvm.org
Wed Feb 24 11:35:59 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8295f7f0ff WAGE: Fixed crash in Double Trouble. Needs more work.
Commit: 8295f7f0ff17ec94bd9dc7709a4ace92c7816a86
https://github.com/scummvm/scummvm/commit/8295f7f0ff17ec94bd9dc7709a4ace92c7816a86
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-02-24T11:35:11+01:00
Commit Message:
WAGE: Fixed crash in Double Trouble. Needs more work.
Changed paths:
engines/wage/design.cpp
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp
index 3ecb02e..2a63436 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();
More information about the Scummvm-git-logs
mailing list