aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]);