mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-13 15:22:25 +08:00
多人世界队伍bug
This commit is contained in:
@@ -105,3 +105,11 @@ func (t *TeamInfo) SetTeamAvatar(teamIndex uint8, avatarIdList []uint32) {
|
||||
}
|
||||
team.AvatarIdList = avatarIdList
|
||||
}
|
||||
|
||||
func (t *TeamInfo) GetActiveAvatarId() uint32 {
|
||||
team := t.GetActiveTeam()
|
||||
if team == nil {
|
||||
return 0
|
||||
}
|
||||
return team.AvatarIdList[t.CurrAvatarIndex]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user