diff --git a/Source/Game/Entities/Creature/Gossip.cs b/Source/Game/Entities/Creature/Gossip.cs index 05942ec81..6146de931 100644 --- a/Source/Game/Entities/Creature/Gossip.cs +++ b/Source/Game/Entities/Creature/Gossip.cs @@ -323,7 +323,7 @@ namespace Game.Misc packet.Pos = pointOfInterest.Pos; packet.Icon = pointOfInterest.Icon; packet.Importance = pointOfInterest.Importance; - packet.Unknown905 = pointOfInterest.Unknown905; + packet.WMOGroupID = pointOfInterest.WMOGroupID; _session.SendPacket(packet); } @@ -754,7 +754,7 @@ namespace Game.Misc public uint Flags; public uint Importance; public string Name; - public uint Unknown905; + public uint WMOGroupID; } public class PointOfInterestLocale diff --git a/Source/Game/Globals/ObjectManager.cs b/Source/Game/Globals/ObjectManager.cs index 4b75ca3ba..be157174a 100644 --- a/Source/Game/Globals/ObjectManager.cs +++ b/Source/Game/Globals/ObjectManager.cs @@ -744,7 +744,7 @@ namespace Game pointsOfInterestStorage.Clear(); // need for reload case // 0 1 2 3 4 5 6 7 8 - var result = DB.World.Query("SELECT ID, PositionX, PositionY, PositionZ, Icon, Flags, Importance, Name, Unknown905 FROM points_of_interest"); + var result = DB.World.Query("SELECT ID, PositionX, PositionY, PositionZ, Icon, Flags, Importance, Name, WMOGroupID FROM points_of_interest"); if (result.IsEmpty()) { Log.outInfo(LogFilter.ServerLoading, "Loaded 0 Points of Interest definitions. DB table `points_of_interest` is empty."); @@ -763,7 +763,7 @@ namespace Game POI.Flags = result.Read(5); POI.Importance = result.Read(6); POI.Name = result.Read(7); - POI.Unknown905 = result.Read(8); + POI.WMOGroupID = result.Read(8); if (!GridDefines.IsValidMapCoord(POI.Pos.X, POI.Pos.Y, POI.Pos.Z)) { diff --git a/Source/Game/Networking/Packets/NPCPackets.cs b/Source/Game/Networking/Packets/NPCPackets.cs index 9b8282dbd..55aca1edf 100644 --- a/Source/Game/Networking/Packets/NPCPackets.cs +++ b/Source/Game/Networking/Packets/NPCPackets.cs @@ -215,7 +215,7 @@ namespace Game.Networking.Packets _worldPacket.WriteVector3(Pos); _worldPacket.WriteUInt32(Icon); _worldPacket.WriteUInt32(Importance); - _worldPacket.WriteUInt32(Unknown905); + _worldPacket.WriteUInt32(WMOGroupID); _worldPacket.WriteBits(Flags, 14); _worldPacket.WriteBits(Name.GetByteCount(), 6); _worldPacket.FlushBits(); @@ -227,7 +227,7 @@ namespace Game.Networking.Packets public Vector3 Pos; public uint Icon; public uint Importance; - public uint Unknown905; + public uint WMOGroupID; public string Name; }