aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorrichiesams2013-08-11 15:06:45 -0500
committerrichiesams2013-08-11 15:06:45 -0500
commitca7680599534aec4f89a65bb5a087e3372488896 (patch)
tree61739882fb4062f5d508bd09fb96178b7653eb4a /engines
parent553a3ced68914f965a5d86c262d338d2bcfc8095 (diff)
downloadscummvm-rg350-ca7680599534aec4f89a65bb5a087e3372488896.tar.gz
scummvm-rg350-ca7680599534aec4f89a65bb5a087e3372488896.tar.bz2
scummvm-rg350-ca7680599534aec4f89a65bb5a087e3372488896.zip
ZVISION: Fix accidental redeclaration of the scale variable
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/video.cpp b/engines/zvision/video.cpp
index 9f98b14746..b3e32b7703 100644
--- a/engines/zvision/video.cpp
+++ b/engines/zvision/video.cpp
@@ -96,7 +96,7 @@ void ZVision::playVideo(Video::VideoDecoder &videoDecoder, const Common::Rect &d
// Assume bilinear scaling. AKA calculate the scale from just the width.
// Also assume that the scaling is in integral intervals. AKA no 1.5x scaling
// TODO: Test ^these^ assumptions
- uint scale = destRect.width() / origWidth;
+ scale = destRect.width() / origWidth;
// TODO: Test if we need to support downscale.
}