From a2837a107c7075ef282ab4e7b6353763ad6845a6 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 21 Mar 2021 19:59:12 -0500 Subject: [PATCH] Don't draw CollisionComponent's hitbox --- src/components/collision_component.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/collision_component.cpp b/src/components/collision_component.cpp index a67423e..8d72f25 100644 --- a/src/components/collision_component.cpp +++ b/src/components/collision_component.cpp @@ -70,7 +70,7 @@ void simpleengine::CollisionComponent::Update(const float &delta_time) { } void simpleengine::CollisionComponent::Render(sf::RenderTarget *target) { - target->draw(hitbox); + //target->draw(hitbox); } void simpleengine::CollisionComponent::SetOnCollide(std::function)> func) {