Skip to content

Commit

Permalink
Update Source/player.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen C. Wills <[email protected]>
  • Loading branch information
kphoenix137 and StephenCWills authored Oct 10, 2024
1 parent 1c91c36 commit 279caff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ WorldTilePosition GetTargetMonsterPosition(const Monster &monster, const Player

if (monster.isWalking()) {
auto progress = monster.animInfo.getAnimationProgress();
if (progress <= 64) {
if (progress <= AnimationInfo::baseValueFraction / 2) {
targetPosition = monster.position.tile;
}
}
Expand Down

0 comments on commit 279caff

Please sign in to comment.