Skip to content

Commit

Permalink
SWORD25: Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Sep 8, 2013
1 parent 4c2dc5f commit 4f0d37d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions engines/sword25/gfx/microtiles.cpp
Expand Up @@ -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];

Expand All @@ -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;
Expand Down

0 comments on commit 4f0d37d

Please sign in to comment.