mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -15,7 +15,7 @@ void TauntBehavior::Handle(BehaviorContext* context, RakNet::BitStream* bitStrea
|
||||
return;
|
||||
}
|
||||
|
||||
auto combatComponent = target->GetComponent<BaseCombatAIComponent>();
|
||||
auto* combatComponent = target->GetComponent<BaseCombatAIComponent>();
|
||||
|
||||
if (combatComponent != nullptr) {
|
||||
combatComponent->Taunt(context->originator, m_threatToAdd);
|
||||
@@ -31,7 +31,7 @@ void TauntBehavior::Calculate(BehaviorContext* context, RakNet::BitStream* bitSt
|
||||
return;
|
||||
}
|
||||
|
||||
auto combatComponent = target->GetComponent<BaseCombatAIComponent>();
|
||||
auto* combatComponent = target->GetComponent<BaseCombatAIComponent>();
|
||||
|
||||
if (combatComponent != nullptr) {
|
||||
combatComponent->Taunt(context->originator, m_threatToAdd);
|
||||
|
Reference in New Issue
Block a user