aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-09 00:48:02 +0300
committerEugene Sandulenko2013-09-09 00:48:02 +0300
commit4f0d37d2f8628c63be1ed993d1332e146e36fac7 (patch)
treed6e656f11ee1df1598bb314b3368205d228c86b2 /engines/sword25/gfx
parent4c2dc5fb3ffbd557af3f6cfa210ab90c30d1a120 (diff)
downloadscummvm-rg350-4f0d37d2f8628c63be1ed993d1332e146e36fac7.tar.gz
scummvm-rg350-4f0d37d2f8628c63be1ed993d1332e146e36fac7.tar.bz2
scummvm-rg350-4f0d37d2f8628c63be1ed993d1332e146e36fac7.zip
SWORD25: Remove unused variable
Diffstat (limited to 'engines/sword25/gfx')
-rw-r--r--engines/sword25/gfx/microtiles.cpp3
1 files changed, 0 insertions, 3 deletions
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;