mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-14 03:58:26 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
void AgSurvivalSpiderling::OnStartup(Entity* self) {
|
||||
BaseWavesGenericEnemy::OnStartup(self);
|
||||
|
||||
auto combatAI = self->GetComponent<BaseCombatAIComponent>();
|
||||
auto* combatAI = self->GetComponent<BaseCombatAIComponent>();
|
||||
if (combatAI != nullptr) {
|
||||
combatAI->SetStunImmune(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user