From a39729238e27bd709d3518a95bcca5adbd575dc7 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Fri, 29 Dec 2023 18:33:39 +0100 Subject: [PATCH] Maybe fix cppcheck --- src/object/torch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/torch.cpp b/src/object/torch.cpp index 5495076f97c..07acd062aca 100644 --- a/src/object/torch.cpp +++ b/src/object/torch.cpp @@ -78,7 +78,7 @@ Torch::update(float) HitResponse Torch::collision(GameObject& other, const CollisionHit& ) { - const auto player = dynamic_cast(&other); + const auto* player = dynamic_cast(&other); if (player != nullptr && !m_burning) { m_burning = true;