aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-04-09 00:11:17 +0200
committerEugene Sandulenko2017-04-09 00:11:17 +0200
commitb1778dc04d6530cc445e534120d7fa29b8eea28f (patch)
treeb29a7b00e0388fdc7d88e0133f5d122fee72a5e1
parent60bad801448d6ebec2a228a6d91f1638edd5ab9d (diff)
downloadscummvm-rg350-b1778dc04d6530cc445e534120d7fa29b8eea28f.tar.gz
scummvm-rg350-b1778dc04d6530cc445e534120d7fa29b8eea28f.tar.bz2
scummvm-rg350-b1778dc04d6530cc445e534120d7fa29b8eea28f.zip
DIRECTOR: Remove pointless comparison.
size is a byte, so it is always < 2048.
-rw-r--r--engines/director/score.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 72913d4e28..0e9b51e64e 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -419,7 +419,7 @@ void Score::loadCastDataVWCR(Common::SeekableSubReadStreamEndian &stream) {
if (size == 0)
continue;
- if (debugChannelSet(5, kDebugLoading) && size < 2048)
+ if (debugChannelSet(5, kDebugLoading))
stream.hexdump(size);
uint8 castType = stream.readByte();