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