mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
多人世界队伍bug
This commit is contained in:
1 parent
1f43048d4a
commit
7fa4cd7f10
2 files changed
+14
-5
No files matched your search
@@ -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