aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kohaut2019-03-09 22:14:38 +0100
committerPeter Kohaut2019-03-09 22:16:38 +0100
commit05dcd7ff2316caffe54d97ec3677512678dd8733 (patch)
tree4d1bfbcab65ab3cbd898c169e2354cda9ec9ecd7
parent45831a7324e0b6aad457749c191a96b5e5630c6d (diff)
downloadscummvm-rg350-05dcd7ff2316caffe54d97ec3677512678dd8733.tar.gz
scummvm-rg350-05dcd7ff2316caffe54d97ec3677512678dd8733.tar.bz2
scummvm-rg350-05dcd7ff2316caffe54d97ec3677512678dd8733.zip
BLADERUNNER: Fixed zbuffer warning in NR01
Game was trying to decode zbuf when there was none.
-rw-r--r--engines/bladerunner/vqa_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/vqa_decoder.cpp b/engines/bladerunner/vqa_decoder.cpp
index 96746b65f3..38d3fd4744 100644
--- a/engines/bladerunner/vqa_decoder.cpp
+++ b/engines/bladerunner/vqa_decoder.cpp
@@ -724,7 +724,7 @@ bool VQADecoder::VQAVideoTrack::readZBUF(Common::SeekableReadStream *s, uint32 s
}
void VQADecoder::VQAVideoTrack::decodeZBuffer(ZBuffer *zbuffer) {
- if (_maxZBUFChunkSize == 0) {
+ if (_zbufChunkSize == 0) {
return;
}