diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-12-31 17:08:54 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2023-12-31 17:08:54 +0100 |
| commit | 099ad4a0fd5711aeb7df4b17dd146be376a4bcda (patch) | |
| tree | 8e589c164ce519d702640d88b8c98d12429a3000 /src/server/game/AI | |
| parent | a5d2d6e465b619743afa374ff99a7238e685d9e8 (diff) | |
Core/Misc: Fixed a bunch of uninitialized class fields
Diffstat (limited to 'src/server/game/AI')
| -rw-r--r-- | src/server/game/AI/CreatureAIImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAIImpl.h b/src/server/game/AI/CreatureAIImpl.h index c50d2a2eb33..ff892ba28e1 100644 --- a/src/server/game/AI/CreatureAIImpl.h +++ b/src/server/game/AI/CreatureAIImpl.h @@ -75,7 +75,7 @@ enum SelectEffect : uint8 struct AISpellInfoType { AISpellInfoType() : target(AITARGET_SELF), condition(AICOND_COMBAT) - , cooldown(AI_DEFAULT_COOLDOWN), realCooldown(0), maxRange(0.0f){ } + , cooldown(AI_DEFAULT_COOLDOWN), realCooldown(0), maxRange(0.0f), Targets(0), Effects(0) { } AITarget target; AICondition condition; Milliseconds cooldown; |
