aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/icons.cpp')
-rw-r--r--engines/agos/icons.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/agos/icons.cpp b/engines/agos/icons.cpp
index 08a3d4e2f0..ca603db1fa 100644
--- a/engines/agos/icons.cpp
+++ b/engines/agos/icons.cpp
@@ -484,7 +484,7 @@ void AGOSEngine::drawIconArray(uint num, Item *itemRef, int line, int classMask)
Item *item_ptr_org = itemRef;
WindowBlock *window;
uint width, height;
- uint k, i, curWidth;
+ uint k, curWidth;
bool item_again, showArrows;
uint x_pos, y_pos;
const int iconSize = (getGameType() == GType_SIMON2) ? 20 : 1;
@@ -502,8 +502,6 @@ void AGOSEngine::drawIconArray(uint num, Item *itemRef, int line, int classMask)
height = window->height / 3;
}
- i = 0;
-
if (window == NULL)
return;