diff options
author | Eugene Sandulenko | 2017-02-19 14:45:18 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-02-19 17:30:49 +0100 |
commit | c010e05edd8343d90d2a87ff490002b3c6ec8b5e (patch) | |
tree | 2646acb2ad47b1f987591d9cf1ff6435c1dce1d7 /engines | |
parent | ea0969779f7d67614c920640533d86107fdcc5cb (diff) | |
download | scummvm-rg350-c010e05edd8343d90d2a87ff490002b3c6ec8b5e.tar.gz scummvm-rg350-c010e05edd8343d90d2a87ff490002b3c6ec8b5e.tar.bz2 scummvm-rg350-c010e05edd8343d90d2a87ff490002b3c6ec8b5e.zip |
DIRECTOR: Hide assert() in Text Cast reading
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/cast.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp index 8b1e57cf18..ed5b05643c 100644 --- a/engines/director/cast.cpp +++ b/engines/director/cast.cpp @@ -95,7 +95,9 @@ TextCast::TextCast(Common::ReadStreamEndian &stream, uint16 version) { palinfo3 = stream.readUint16(); int t = stream.readUint32(); - assert(t == 0); // So far we saw only 0 here + if (t != 0) { // In D2 there are values + warning("TextCast: t: %x", t); + } initialRect = Score::readRect(stream); textShadow = static_cast<SizeType>(stream.readByte()); |