I'm trying to customize the arena teams and i don't know how to compile, but anyways, would this work if i were to compile?
Code:
{
uint32 Slots = 0;
if(Type == ARENA_TEAM_TYPE_2V2)
Slots=4;
else if(Type == ARENA_TEAM_TYPE_3V3)
Slots=6;
else if(Type == ARENA_TEAM_TYPE_5V5)
Slots=10;
else if(Type == ARENA_TEAM_TYPE_6V6)
Slots=12;
else if (Type == ARENA_TEAM_TYPE_7V7)
Slots=14;
else if (Type == ARENA_TEAM_TYPE_8V8)
Slots=16;
else if (Type == ARENA_TEAM_TYPE_9V9)
Slots=18;
else if (Type == ARENA_TEAM_TYPE_10v10
Slots=20;
ASSERT(Slots);
m_members = new ArenaTeamMember[Slots];
memset(m_members,0,sizeof(ArenaTeamMember)*Slots);
m_slots = Slots;
m_memberCount=0;
}
Thanks
C-Death