Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed May 12, 2024
1 parent 7a619f0 commit 8795e8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/badguy/walking_badguy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ WalkingBadguy::collision_solid(const CollisionHit& hit)
}

if ( hit.slope_normal.x == 0.0f &&
(hit.left && m_dir == Direction::LEFT) ||
(hit.right && m_dir == Direction::RIGHT) ) {
((hit.left && m_dir == Direction::LEFT) ||
(hit.right && m_dir == Direction::RIGHT)) ) {
turn_around();
}

Expand Down

0 comments on commit 8795e8b

Please sign in to comment.