1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-16 09:25:57 -05:00

party panel: removed unnecessary test data

This commit is contained in:
M. Sz 2021-01-19 17:59:58 +01:00
parent b25bbe31f4
commit 27ca1c84ef

View File

@ -339,10 +339,6 @@ func (s *PartyPanel) Load() {
heroName.Alignment = d2ui.HorizontalAlignCenter
s.panelGroup.AddWidget(heroName)
m0 := s.me
m0.Class = d2enum.HeroNecromancer
s.AddPlayer(m0, d2enum.PlayerRelationNeutral)
// create WidgetGroups of party indexes
for n, i := range s.partyIndexes {
s.indexes[n].AddWidget(i.name)