summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/equipmentwindow.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index c5df1b528..83227f757 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -181,12 +181,13 @@ void EquipmentWindow::draw(gcn::Graphics *graphics)
continue;
if (i == mSelected)
{
- g->calcTile(mVertexes, mSlotHighlightedBackground,
- box->x, box->y);
+ g->calcTileCollection(mVertexes,
+ mSlotHighlightedBackground, box->x, box->y);
}
else
{
- g->calcTile(mVertexes, mSlotBackground, box->x, box->y);
+ g->calcTileCollection(mVertexes, mSlotBackground,
+ box->x, box->y);
}
}
}