aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-20 07:06:22 +0000
committerPaul Gilbert2010-06-20 07:06:22 +0000
commit110e03c87b65330ef1ac105ddfca55bb1ac1d4ac (patch)
tree7b1c1d833cbdc4f0a543ba511914b1888112781e /engines
parentfcdb7807a456f5a6cb94932977a1b0e4f0e11089 (diff)
downloadscummvm-rg350-110e03c87b65330ef1ac105ddfca55bb1ac1d4ac.tar.gz
scummvm-rg350-110e03c87b65330ef1ac105ddfca55bb1ac1d4ac.tar.bz2
scummvm-rg350-110e03c87b65330ef1ac105ddfca55bb1ac1d4ac.zip
Removed unused variables
svn-id: r50071
Diffstat (limited to 'engines')
-rw-r--r--engines/m4/mads_scene.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/m4/mads_scene.cpp b/engines/m4/mads_scene.cpp
index 7e45b5f1f7..a464438981 100644
--- a/engines/m4/mads_scene.cpp
+++ b/engines/m4/mads_scene.cpp
@@ -681,14 +681,12 @@ void MadsSceneResources::load(int sceneNumber, const char *resName, int v0, M4Su
// Initialise a copy of the surfaces if they weren't provided
bool dsFlag = false, ssFlag = false;
- int gfxSize = width * height;
if (!surface) {
surface = new M4Surface(width, height);
ssFlag = true;
} else if ((width != surface->width()) || (height != surface->height()))
surface->setSize(width, height);
- int walkSize = gfxSize;
if (!depthSurface) {
depthSurface = new M4Surface(width, height);
dsFlag = true;