1
This commit is contained in:
parent
2ec2f440c1
commit
45c81d34c3
@ -794,10 +794,10 @@ int MatchTeam::GetSlotNum()
|
||||
|
||||
bool MatchTeam::HaveEmptySlot()
|
||||
{
|
||||
return false;
|
||||
return GetEmptySlotNum() > 0;
|
||||
}
|
||||
|
||||
int MatchTeam::GetFreeSlotNum()
|
||||
int MatchTeam::GetEmptySlotNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ class MatchTeam
|
||||
std::shared_ptr<RawTeamMember> GetOwner() { return first_member_; };
|
||||
int GetSlotNum();
|
||||
bool HaveEmptySlot();
|
||||
int GetFreeSlotNum();
|
||||
int GetEmptySlotNum();
|
||||
|
||||
private:
|
||||
void Update();
|
||||
|
Loading…
x
Reference in New Issue
Block a user