mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "PetComponent.h"
|
||||
|
||||
void NjEarthPetServer::OnStartup(Entity* self) {
|
||||
auto petComponent = self->GetComponent<PetComponent>();
|
||||
auto* petComponent = self->GetComponent<PetComponent>();
|
||||
if (petComponent == nullptr || petComponent->GetOwnerId() != LWOOBJID_EMPTY)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user