mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-21 23:08:07 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -9,7 +9,7 @@ void ApplyBuffBehavior::Handle(BehaviorContext* context, RakNet::BitStream* bitS
|
||||
|
||||
if (entity == nullptr) return;
|
||||
|
||||
auto buffComponent = entity->GetComponent<BuffComponent>();
|
||||
auto* buffComponent = entity->GetComponent<BuffComponent>();
|
||||
|
||||
if (buffComponent == nullptr) return;
|
||||
|
||||
@@ -22,7 +22,7 @@ void ApplyBuffBehavior::UnCast(BehaviorContext* context, BehaviorBranchContext b
|
||||
|
||||
if (entity == nullptr) return;
|
||||
|
||||
auto buffComponent = entity->GetComponent<BuffComponent>();
|
||||
auto* buffComponent = entity->GetComponent<BuffComponent>();
|
||||
|
||||
if (buffComponent == nullptr) return;
|
||||
|
||||
|
Reference in New Issue
Block a user