Misc cleanups
This commit is contained in:
@@ -2323,6 +2323,6 @@ namespace Framework.Constants
|
||||
|
||||
public enum WorldMapTransformsFlags
|
||||
{
|
||||
Dundeon = 0x04
|
||||
Dungeon = 0x04
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1350,7 +1350,7 @@ namespace Game.DataStorage
|
||||
continue;
|
||||
if (transform.AreaID != 0)
|
||||
continue;
|
||||
if (Convert.ToBoolean(transform.Flags & (byte)WorldMapTransformsFlags.Dundeon))
|
||||
if (Convert.ToBoolean(transform.Flags & (byte)WorldMapTransformsFlags.Dungeon))
|
||||
continue;
|
||||
if (transform.RegionMin.X > x || transform.RegionMax.X < x)
|
||||
continue;
|
||||
|
||||
@@ -310,13 +310,6 @@ namespace Game.Entities
|
||||
public byte Flags;
|
||||
}
|
||||
|
||||
struct PlayerDynamicFieldSpellModByLabel
|
||||
{
|
||||
public uint Mod;
|
||||
public float Value;
|
||||
public uint Label;
|
||||
}
|
||||
|
||||
public class SpecializationInfo
|
||||
{
|
||||
public SpecializationInfo()
|
||||
|
||||
@@ -1172,6 +1172,7 @@ namespace Game.Network.Packets
|
||||
{
|
||||
public void Write(WorldPacket data)
|
||||
{
|
||||
Item = new ItemInstance();
|
||||
Item.Write(data);
|
||||
data.WriteInt32(Quantity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user