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

@@ -6,7 +6,7 @@
#include "Loot.h"
void MinigameTreasureChestServer::OnUse(Entity* self, Entity* user) {
auto sac = self->GetComponent<ScriptedActivityComponent>();
auto* sac = self->GetComponent<ScriptedActivityComponent>();
if (sac == nullptr)
return;
@@ -57,7 +57,7 @@ void MinigameTreasureChestServer::OnStartup(Entity* self) {
// BONS treasure chest thinks it's on FV, causing it to start a lobby
if (dZoneManager::Instance()->GetZoneID().GetMapID() == 1204) {
auto sac = self->GetComponent<ScriptedActivityComponent>();
auto* sac = self->GetComponent<ScriptedActivityComponent>();
if (sac != nullptr) {
sac->SetInstanceMapID(1204);
}