Misc cleanups

This commit is contained in:
hondacrx
2018-01-05 12:11:18 -05:00
parent 24c91cee05
commit 387568b863
4 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -2323,6 +2323,6 @@ namespace Framework.Constants
public enum WorldMapTransformsFlags
{
Dundeon = 0x04
Dungeon = 0x04
}
}
+1 -1
View File
@@ -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);
}