Skip to content

Commit

Permalink
Maybe fix cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Dec 29, 2023
1 parent ef111b4 commit a397292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object/torch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Torch::update(float)
HitResponse
Torch::collision(GameObject& other, const CollisionHit& )
{
const auto player = dynamic_cast<Player*>(&other);
const auto* player = dynamic_cast<Player*>(&other);
if (player != nullptr && !m_burning)
{
m_burning = true;
Expand Down

0 comments on commit a397292

Please sign in to comment.