mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 15:07:28 +00:00
remove dereference
(I think that's what it is called)
This commit is contained in:
parent
d05601ce64
commit
8fe5c00984
@ -20,7 +20,7 @@ void WhFans::ToggleFX(Entity* self, bool hit) {
|
||||
|
||||
std::vector<Entity*> fanVolumes = EntityManager::Instance()->GetEntitiesInGroup(fanGroup);
|
||||
|
||||
auto* renderComponent = self->GetComponent<RenderComponent*>();
|
||||
auto* renderComponent = self->GetComponent<RenderComponent>();
|
||||
|
||||
if (renderComponent == nullptr) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user