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

@@ -23,7 +23,7 @@ void ScriptedPowerupSpawner::OnTimerDone(Entity* self, std::string message) {
// Spawn the required number of powerups
auto* owner = EntityManager::Instance()->GetEntity(self->GetSpawnerID());
if (owner != nullptr) {
auto renderComponent = self->GetComponent<RenderComponent>();
auto* renderComponent = self->GetComponent<RenderComponent>();
for (auto i = 0; i < self->GetVar<uint32_t>(u"numberOfPowerups"); i++) {
if (renderComponent != nullptr) {
renderComponent->PlayEffect(0, u"cast", "N_cast");