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

@@ -14,8 +14,8 @@ void SpawnGryphonServer::SetVariables(Entity* self) {
}
void SpawnGryphonServer::OnUse(Entity* self, Entity* user) {
auto missionComponent = user->GetComponent<MissionComponent>();
auto inventoryComponent = user->GetComponent<InventoryComponent>();
auto* missionComponent = user->GetComponent<MissionComponent>();
auto* inventoryComponent = user->GetComponent<InventoryComponent>();
// Little extra for handling the case of the egg being placed the first time
if (missionComponent != nullptr && inventoryComponent != nullptr