]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/BattleState.cpp
fixed hero positions
[l2e.git] / src / battle / BattleState.cpp
index cbea81a82cb5d1564344abe6e24d757bbca70d0e..b3ad20ede3ef4a15aec0ffb214aeccc8a74dfbba 100644 (file)
@@ -201,7 +201,7 @@ void BattleState::PauseState(Application &ctrl, SDL_Surface *screen) {
 }
 
 
-void BattleState::HandleInput(const Input &input) {
+void BattleState::HandleEvents(const Input &input) {
 
 }
 
@@ -237,7 +237,7 @@ void BattleState::RenderMonsters(SDL_Surface *screen, const Vector<int> &offset)
 
 void BattleState::RenderHeroes(SDL_Surface *screen, const Vector<int> &offset) {
        for (vector<Hero>::size_type i(0), end(heroes.size()); i < end; ++i) {
-               heroes[i].Sprite()->DrawCenterBottom(screen, heroesPositions[i] + offset);
+               heroes[i].Sprite()->DrawCenterBottom(screen, heroesPositions[i] + offset, 0, 1);
        }
 }