aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorD G Turner2012-11-19 23:27:07 +0000
committerD G Turner2012-11-19 23:27:07 +0000
commitb35bda171550bd2ad7d9b88e859549eac2df2038 (patch)
tree1e39c6c0728143a0a131ef6ae5bf2d174fe4aef0 /engines
parente9c3d143075c289e0a7382bd6de2837b75d490c1 (diff)
downloadscummvm-rg350-b35bda171550bd2ad7d9b88e859549eac2df2038.tar.gz
scummvm-rg350-b35bda171550bd2ad7d9b88e859549eac2df2038.tar.bz2
scummvm-rg350-b35bda171550bd2ad7d9b88e859549eac2df2038.zip
TOLTECS: Remove unused, but set, variable, start.
Diffstat (limited to 'engines')
-rw-r--r--engines/toltecs/microtiles.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/toltecs/microtiles.cpp b/engines/toltecs/microtiles.cpp
index 60e65bdaf3..9181480351 100644
--- a/engines/toltecs/microtiles.cpp
+++ b/engines/toltecs/microtiles.cpp
@@ -119,8 +119,6 @@ Common::Rect * MicroTileArray::getRectangles(int *num_rects, int min_x, int min_
for (y = 0; y < _tilesH; ++y) {
for (x = 0; x < _tilesW; ++x) {
-
- int start;
int finish = 0;
BoundingBox boundingBox;
@@ -141,8 +139,6 @@ Common::Rect * MicroTileArray::getRectangles(int *num_rects, int min_x, int min_
// FIXME: Why is the following code in an #if block?
#if 1
- start = i;
-
if (TileX1(boundingBox) == TileSize - 1 && x != _tilesW - 1) { // check if the tile continues
while (!finish) {
++x;