Skip to content

Commit 95f365a

Browse files
committed
made UniqueID start at 1
1 parent b3ff085 commit 95f365a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

GW2EIEvtcParser/ParsedData/Agents/AgentItem.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public enum AgentType { NPC, Gadget, Player, NonSquadPlayer}
3939
// Constructors
4040
internal AgentItem(ulong agent, string name, ParserHelper.Spec spec, int id, AgentType type, ushort toughness, ushort healing, ushort condition, ushort concentration, uint hbWidth, uint hbHeight)
4141
{
42-
UniqueID = AgentCount++;
42+
UniqueID = ++AgentCount;
4343
Agent = agent;
4444
Name = name;
4545
Spec = spec;
@@ -90,7 +90,7 @@ internal AgentItem(ulong agent, string name, ParserHelper.Spec spec, int id, ush
9090

9191
internal AgentItem(AgentItem other)
9292
{
93-
UniqueID = AgentCount++;
93+
UniqueID = ++AgentCount;
9494
Agent = other.Agent;
9595
Name = other.Name;
9696
Spec = other.Spec;
@@ -110,7 +110,7 @@ internal AgentItem(AgentItem other)
110110

111111
internal AgentItem()
112112
{
113-
UniqueID = AgentCount++;
113+
UniqueID = ++AgentCount;
114114
}
115115

116116
internal void OverrideIsNotInSquadFriendlyPlayer(bool status)

0 commit comments

Comments
 (0)