From 4f0d37d2f8628c63be1ed993d1332e146e36fac7 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 9 Sep 2013 00:48:02 +0300 Subject: SWORD25: Remove unused variable --- engines/sword25/gfx/microtiles.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'engines/sword25/gfx') diff --git a/engines/sword25/gfx/microtiles.cpp b/engines/sword25/gfx/microtiles.cpp index 8dceed5348..18e4a9a1fb 100644 --- a/engines/sword25/gfx/microtiles.cpp +++ b/engines/sword25/gfx/microtiles.cpp @@ -119,7 +119,6 @@ RectangleList *MicroTileArray::getRectangles() { for (y = 0; y < _tilesH; ++y) { for (x = 0; x < _tilesW; ++x) { - int start; int finish = 0; BoundingBox boundingBox = _tiles[i]; @@ -132,8 +131,6 @@ RectangleList *MicroTileArray::getRectangles() { y0 = (y * TileSize) + TileY0(boundingBox); y1 = (y * TileSize) + TileY1(boundingBox); - start = i; - if (TileX1(boundingBox) == TileSize - 1 && x != _tilesW - 1) { // check if the tile continues while (!finish) { ++x; -- cgit v1.2.3