Replace all auto with auto*

For components
This commit is contained in:
David Markowitz
2023-06-09 01:27:05 -07:00
parent 62aa863997
commit e2dfa1809d
233 changed files with 753 additions and 753 deletions

View File

@@ -8,7 +8,7 @@
void ActVehicleDeathTrigger::OnCollisionPhantom(Entity* self, Entity* target) {
auto possessableComponent = target->GetComponent<PossessableComponent>();
auto* possessableComponent = target->GetComponent<PossessableComponent>();
Entity* vehicle;
Entity* player;
@@ -22,7 +22,7 @@ void ActVehicleDeathTrigger::OnCollisionPhantom(Entity* self, Entity* target) {
return;
} else if (target->IsPlayer()) {
auto possessorComponent = target->GetComponent<PossessorComponent>();
auto* possessorComponent = target->GetComponent<PossessorComponent>();
if (possessorComponent == nullptr) {
return;
@@ -44,7 +44,7 @@ void ActVehicleDeathTrigger::OnCollisionPhantom(Entity* self, Entity* target) {
auto* zoneController = dZoneManager::Instance()->GetZoneControlObject();
auto racingControlComponent = zoneController->GetComponent<RacingControlComponent>();
auto* racingControlComponent = zoneController->GetComponent<RacingControlComponent>();
if (racingControlComponent != nullptr) {
racingControlComponent->OnRequestDie(player);