diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-11-16 23:47:51 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-11-16 23:47:51 +0100 |
| commit | d2f5f70326ca50773cf57e6369d1da8ed6bc0d6a (patch) | |
| tree | f8706b6dd47f6ab57cea1aefd7292a91c4399128 | |
| parent | c4bec744ad8f35aa1ea42c64ffc07095b576b59d (diff) | |
| -rw-r--r-- | src/server/game/Spells/SpellScript.cpp | 3 | ||||
| -rw-r--r-- | src/server/game/Spells/SpellScript.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellScript.cpp b/src/server/game/Spells/SpellScript.cpp index 9ffefa47fc6..db24e13cb19 100644 --- a/src/server/game/Spells/SpellScript.cpp +++ b/src/server/game/Spells/SpellScript.cpp @@ -21,7 +21,6 @@ #include "Spell.h" #include "SpellAuras.h" #include "SpellMgr.h" -#include "StringConvert.h" #include "Unit.h" #include <string> @@ -35,7 +34,7 @@ bool SpellScriptBase::_Validate(SpellInfo const* entry) return true; } -SpellScriptBase::SpellScriptBase() noexcept : m_currentScriptState(SPELL_SCRIPT_STATE_NONE), m_scriptSpellId(0) +SpellScriptBase::SpellScriptBase() noexcept : m_scriptSpellId(0), m_currentScriptState(SPELL_SCRIPT_STATE_NONE) { } diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h index 77c5c512fc7..739355cd21e 100644 --- a/src/server/game/Spells/SpellScript.h +++ b/src/server/game/Spells/SpellScript.h @@ -174,9 +174,9 @@ protected: Ret(* Thunk)(BaseClass&, Args..., StorageType); }; - uint8 m_currentScriptState; std::string_view m_scriptName; uint32 m_scriptSpellId; + uint8 m_currentScriptState; private: |
