mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-17 05:28:27 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
void FvFreeGfNinjas::OnMissionDialogueOK(Entity* self, Entity* target, int missionID, eMissionState missionState) {
|
||||
if (missionID == 705 && missionState == eMissionState::AVAILABLE) {
|
||||
auto missionComponent = target->GetComponent<MissionComponent>();
|
||||
auto* missionComponent = target->GetComponent<MissionComponent>();
|
||||
if (missionComponent == nullptr)
|
||||
return;
|
||||
|
||||
@@ -26,7 +26,7 @@ void FvFreeGfNinjas::OnMissionDialogueOK(Entity* self, Entity* target, int missi
|
||||
|
||||
void FvFreeGfNinjas::OnUse(Entity* self, Entity* user) {
|
||||
// To allow player who already have the mission to progress.
|
||||
auto missionComponent = user->GetComponent<MissionComponent>();
|
||||
auto* missionComponent = user->GetComponent<MissionComponent>();
|
||||
if (missionComponent == nullptr)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user