Fix macos compilation

This commit is contained in:
Yunfan Li
2024-03-18 14:25:49 +08:00
parent af717c592f
commit b1ee6cfe06
2 changed files with 0 additions and 2 deletions

View File

@@ -1063,7 +1063,6 @@ void GameObject::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask, bool
// update in loaded data (changing data only in this place)
GameObjectData& data = sObjectMgr->NewGOData(m_spawnId);
data.spawnId = m_spawnId;
data.id = GetEntry();
data.mapid = mapid;

View File

@@ -696,7 +696,6 @@ enum GOState
struct GameObjectData
{
explicit GameObjectData() = default;
ObjectGuid::LowType spawnId{0};
uint32 id{ 0 }; // entry in gamobject_template
uint16 mapid{ 0 };
uint32 phaseMask{ 0 };