X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FVictoryState.cpp;fp=src%2Fbattle%2Fstates%2FVictoryState.cpp;h=a0b09ceb5b93d7996c71317f88765b80cce45bad;hb=e8283bf94624b2f184d50dc1401bf45225c529d6;hp=831f08eef002b268f50c6c831ce235fa926195cc;hpb=467fd239cfa26ba057fd1959ca8908f618cd9287;p=l2e.git diff --git a/src/battle/states/VictoryState.cpp b/src/battle/states/VictoryState.cpp index 831f08e..a0b09ce 100644 --- a/src/battle/states/VictoryState.cpp +++ b/src/battle/states/VictoryState.cpp @@ -159,13 +159,12 @@ void VictoryState::RenderLines(SDL_Surface *screen) { if (start > 0) { if (timer.Running() && !stalling) { + --end; position += lineBreak; const int correction = timer.IterationElapsed(); if (correction > 0) { // ++start; position.Y() -= lineBreak.Y() * correction / timer.TargetTime(); - } else { - --end; } } }