1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-09 09:20:44 +00:00

Advance hero animations on char select screen. (#267)

This commit is contained in:
Ziemas 2019-12-26 17:14:26 +01:00 committed by Tim Sarbin
parent b7e50bf098
commit 0c2b7cfd8d

View File

@ -257,6 +257,11 @@ func (v *CharacterSelect) Update(tickTime float64) {
v.mouseButtonPressed = false
}
}
for _, hero := range v.characterImage {
if hero != nil {
hero.AnimatedEntity.Advance(tickTime)
}
}
}
func (v *CharacterSelect) onDeleteCharButtonClicked() {