mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-13 19:08:08 +00:00
Move to shared pointer
This commit is contained in:
@@ -25,7 +25,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;
|
||||
|
||||
|
Reference in New Issue
Block a user