mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +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