mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-15 04:28:27 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -20,7 +20,7 @@ void NtSleepingGuard::OnEmoteReceived(Entity* self, const int32_t emote, Entity*
|
||||
|
||||
RenderComponent::PlayAnimation(self, u"greet");
|
||||
|
||||
auto missionComponent = target->GetComponent<MissionComponent>();
|
||||
auto* missionComponent = target->GetComponent<MissionComponent>();
|
||||
|
||||
if (missionComponent != nullptr) {
|
||||
missionComponent->CompleteMission(1346);
|
||||
|
||||
Reference in New Issue
Block a user