remove dereference

(I think that's what it is called)
This commit is contained in:
Aaron Kimbre 2022-04-18 08:36:11 -05:00
parent d05601ce64
commit 8fe5c00984

View File

@ -20,7 +20,7 @@ void WhFans::ToggleFX(Entity* self, bool hit) {
std::vector<Entity*> fanVolumes = EntityManager::Instance()->GetEntitiesInGroup(fanGroup); std::vector<Entity*> fanVolumes = EntityManager::Instance()->GetEntitiesInGroup(fanGroup);
auto* renderComponent = self->GetComponent<RenderComponent*>(); auto* renderComponent = self->GetComponent<RenderComponent>();
if (renderComponent == nullptr) return; if (renderComponent == nullptr) return;