mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-28 06:25:55 +00:00
fix(DB): set game_event_* tables to use smallint (#22309)
This commit is contained in:
@@ -2317,7 +2317,7 @@ void ObjectMgr::LoadCreatures()
|
||||
data.movementType = fields[15].Get<uint8>();
|
||||
data.spawnMask = fields[16].Get<uint8>();
|
||||
data.phaseMask = fields[17].Get<uint32>();
|
||||
int16 gameEvent = fields[18].Get<int8>();
|
||||
int16 gameEvent = fields[18].Get<int16>();
|
||||
uint32 PoolId = fields[19].Get<uint32>();
|
||||
data.npcflag = fields[20].Get<uint32>();
|
||||
data.unit_flags = fields[21].Get<uint32>();
|
||||
@@ -2709,7 +2709,7 @@ void ObjectMgr::LoadGameobjects()
|
||||
LOG_ERROR("sql.sql", "Table `gameobject` has gameobject (GUID: {} Entry: {}) that has wrong spawn mask {} including not supported difficulty modes for map (Id: {}), skip", guid, data.id, data.spawnMask, data.mapid);
|
||||
|
||||
data.phaseMask = fields[15].Get<uint32>();
|
||||
int16 gameEvent = fields[16].Get<int8>();
|
||||
int16 gameEvent = fields[16].Get<int16>();
|
||||
uint32 PoolId = fields[17].Get<uint32>();
|
||||
|
||||
if (data.rotation.x < -1.0f || data.rotation.x > 1.0f)
|
||||
|
||||
Reference in New Issue
Block a user