diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-15 00:23:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-15 00:23:39 +0300 |
commit | 53d28e67f8b7966596818af7cbfd360df241b332 (patch) | |
tree | 2924b2c260c14bfb8344d75c4bf7482d5263a39a /src/gui/windows/equipmentwindow.cpp | |
parent | 36de2c64d6bba077775360c9c0d681f0a096ffc3 (diff) | |
download | mv-53d28e67f8b7966596818af7cbfd360df241b332.tar.gz mv-53d28e67f8b7966596818af7cbfd360df241b332.tar.bz2 mv-53d28e67f8b7966596818af7cbfd360df241b332.tar.xz mv-53d28e67f8b7966596818af7cbfd360df241b332.zip |
rename calcTile methods into separate names calcTileVertexes, calTileCollection.
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 7 |
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); } } } |