diff options
Diffstat (limited to 'src')
| -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: |
