fix(Core/Waypoint Show): Fixed error with waypoint show. (#10148)

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
This commit is contained in:
Malcrom 2022-01-12 20:41:19 -04:00 committed by GitHub
parent e6e76f971b
commit 97012997af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1356,6 +1356,8 @@ void Creature::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask)
stmt = WorldDatabase.GetPreparedStatement(WORLD_INS_CREATURE);
stmt->setUInt32(index++, m_spawnId);
stmt->setUInt32(index++, GetEntry());
stmt->setUInt32(index++, 0);
stmt->setFloat(index++, 100.0f);
stmt->setUInt16(index++, uint16(mapid));
stmt->setUInt8(index++, spawnMask);
stmt->setUInt32(index++, GetPhaseMask());