mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-10 17:38:08 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
|
||||
void NpcNpSpacemanBob::OnMissionDialogueOK(Entity* self, Entity* target, int missionID, eMissionState missionState) {
|
||||
if (missionState == eMissionState::READY_TO_COMPLETE && missionID == 173) {
|
||||
auto destroyable = target->GetComponent<DestroyableComponent>();
|
||||
auto* destroyable = target->GetComponent<DestroyableComponent>();
|
||||
destroyable->SetImagination(6);
|
||||
auto mission = target->GetComponent<MissionComponent>();
|
||||
auto* mission = target->GetComponent<MissionComponent>();
|
||||
|
||||
mission->CompleteMission(664);
|
||||
}
|
||||
|
Reference in New Issue
Block a user