]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectIkari.cpp
switched some (x,y) and (w,h) pairs to vectors
[l2e.git] / src / battle / states / SelectIkari.cpp
index 7647e2898f2c11cf80b2275c414b651d6048aa77..87436b0faad8d862a58f82f185013d309a8f4fc9 100644 (file)
@@ -108,7 +108,7 @@ void SelectIkari::Render(SDL_Surface *screen) {
 
 void SelectIkari::RenderFrame(SDL_Surface *screen, const Vector<int> &offset) {
        const Frame *frame(battle->Res().selectFrame);
-       Vector<int> position(frame->BorderWidth(), frame->BorderHeight());
+       Vector<int> position(frame->BorderSize());
        int width(battle->Width() - 2 * frame->BorderWidth());
        int height(battle->Res().normalFont->CharHeight() * 13);
        frame->Draw(screen, position + offset, width, height);