diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index 43391e611..9b4082f7f 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -387,10 +387,9 @@ void EquipmentWindow::mouseReleased(gcn::MouseEvent &mouseEvent) { const int x = mouseEvent.getX(); const int y = mouseEvent.getY(); - int i = 0; for (std::vector<EquipmentBox*>::const_iterator it = mBoxes.begin(), it_end = mBoxes.end(); - it != it_end; ++ it, ++ i) + it != it_end; ++ it) { const EquipmentBox *const box = *it; if (!box) |