X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FBattleState.cpp;h=b3ad20ede3ef4a15aec0ffb214aeccc8a74dfbba;hb=85f12b6b3dd4abb488a24b41d2d5d9725fb33462;hp=cbea81a82cb5d1564344abe6e24d757bbca70d0e;hpb=62c0a1d0ac98eb51418e4daa59e80b6cc97b522f;p=l2e.git diff --git a/src/battle/BattleState.cpp b/src/battle/BattleState.cpp index cbea81a..b3ad20e 100644 --- a/src/battle/BattleState.cpp +++ b/src/battle/BattleState.cpp @@ -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 &offset) void BattleState::RenderHeroes(SDL_Surface *screen, const Vector &offset) { for (vector::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); } }