Skip to content

Commit

Permalink
Restore shaking battlers
Browse files Browse the repository at this point in the history
This fixes a regression in commit 9088f4f, battlers stay fixed
when the screen is shaking.
  • Loading branch information
carstene1ns committed Oct 10, 2017
1 parent 78856ac commit 61918b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sprite_battler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ void Sprite_Battler::Update() {
}
}
}

// needed for screen shaking
SetX(battler->GetDisplayX());
}

void Sprite_Battler::SetAnimationState(int state, LoopState loop) {
Expand Down

0 comments on commit 61918b8

Please sign in to comment.