mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-20 14:28:07 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -16,7 +16,7 @@ void DamageReductionBehavior::Handle(BehaviorContext* context, RakNet::BitStream
|
||||
return;
|
||||
}
|
||||
|
||||
auto destroyable = target->GetComponent<DestroyableComponent>();
|
||||
auto* destroyable = target->GetComponent<DestroyableComponent>();
|
||||
|
||||
if (destroyable == nullptr) {
|
||||
return;
|
||||
@@ -40,7 +40,7 @@ void DamageReductionBehavior::Timer(BehaviorContext* context, BehaviorBranchCont
|
||||
return;
|
||||
}
|
||||
|
||||
auto destroyable = target->GetComponent<DestroyableComponent>();
|
||||
auto* destroyable = target->GetComponent<DestroyableComponent>();
|
||||
|
||||
if (destroyable == nullptr) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user