aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-08 22:34:40 -0400
committerPaul Gilbert2015-03-08 22:34:40 -0400
commitaad048674b3d63c05742ce9091416ad5465cb541 (patch)
tree4e36eee701bf255bbeb015e9ff2d5ef155c69f2e /engines
parent9ec28cb27f1f637cc407c6b1b50dc87aece0507f (diff)
downloadscummvm-rg350-aad048674b3d63c05742ce9091416ad5465cb541.tar.gz
scummvm-rg350-aad048674b3d63c05742ce9091416ad5465cb541.tar.bz2
scummvm-rg350-aad048674b3d63c05742ce9091416ad5465cb541.zip
MADS: Fix unused variable warning
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/screen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp
index 8db034c467..6199da5925 100644
--- a/engines/mads/screen.cpp
+++ b/engines/mads/screen.cpp
@@ -685,7 +685,6 @@ void ScreenSurface::panTransition(MSurface &newScreen, byte *palData, int entryS
int y1, y2;
int startX = 0;
int deltaX;
- int sizeY;
int xAt;
int loopStart;
// uint32 baseTicks, currentTicks;
@@ -712,7 +711,7 @@ void ScreenSurface::panTransition(MSurface &newScreen, byte *palData, int entryS
y1 = 0;
y2 = size.y - 1;
- sizeY = y2 - y1 + 1;
+// sizeY = y2 - y1 + 1;
if (throughBlack == THROUGH_BLACK2)
swapForeground(palData, &paletteMap[0]);