From ca7680599534aec4f89a65bb5a087e3372488896 Mon Sep 17 00:00:00 2001 From: richiesams Date: Sun, 11 Aug 2013 15:06:45 -0500 Subject: ZVISION: Fix accidental redeclaration of the scale variable --- engines/zvision/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/zvision') 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. } -- cgit v1.2.3