mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-04 06:32:00 +00:00 
			
		
		
		
	remove dereference
(I think that's what it is called)
This commit is contained in:
		@@ -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;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user