mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 16:56:07 +00:00
fix(Core): ScriptName not readable in creature and gameobject table fix (#8715)
This commit is contained in:
@@ -711,6 +711,7 @@ struct GameObjectData
|
||||
float orientation{0.0f};
|
||||
G3D::Quat rotation;
|
||||
int32 spawntimesecs{0};
|
||||
uint32 ScriptId;
|
||||
uint32 animprogress{0};
|
||||
GOState go_state{GO_STATE_ACTIVE};
|
||||
uint8 spawnMask{0};
|
||||
@@ -933,7 +934,7 @@ public:
|
||||
|
||||
void EventInform(uint32 eventId);
|
||||
|
||||
[[nodiscard]] virtual uint32 GetScriptId() const { return GetGOInfo()->ScriptId; }
|
||||
[[nodiscard]] virtual uint32 GetScriptId() const;
|
||||
[[nodiscard]] GameObjectAI* AI() const { return m_AI; }
|
||||
|
||||
[[nodiscard]] std::string GetAIName() const;
|
||||
|
||||
Reference in New Issue
Block a user