Skip to content

Commit

Permalink
const correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Dec 31, 2023
1 parent cb48125 commit 5af2366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/badguy/crusher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class CrusherRoot : public MovingSprite

private:
void start_animation();
bool delay_gone() { return m_delay_remaining <= 0.f; }
bool delay_gone() const { return m_delay_remaining <= 0.f; }

private:
Vector m_original_pos;
Expand Down

0 comments on commit 5af2366

Please sign in to comment.