]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/RunState.cpp
switched some (x,y) and (w,h) pairs to vectors
[l2e.git] / src / battle / states / RunState.cpp
index a22f43816a0006612066ba5ad290df8fd070548d..e1f6f4bcdd89058dc65b260849202e872606df54 100644 (file)
@@ -68,7 +68,7 @@ void RunState::Render(SDL_Surface *screen) {
 
 void RunState::RenderTitleBar(SDL_Surface *screen, const Vector<int> &offset) {
        int height(battle->Res().titleFrame->BorderHeight() * 2 + battle->Res().titleFont->CharHeight());
-       battle->Res().titleFrame->Draw(screen, Vector<int>(offset.X(), offset.Y()), battle->Width(), height);
+       battle->Res().titleFrame->Draw(screen, offset, battle->Width(), height);
 
        Vector<int> textPosition(
                        (battle->Width() - (std::strlen(battle->Res().escapeText) * battle->Res().titleFont->CharWidth())) / 2,