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

Merge branch 'hotfix' of https://github.com/gucio321/OpenDiablo2 into hotfix

This commit is contained in:
M. Sz 2020-12-02 09:24:22 +01:00
commit c7a841fe5a
3 changed files with 2 additions and 5 deletions

View File

@ -110,7 +110,7 @@ const (
HealthManaIndicator = "/data/global/ui/PANEL/hlthmana.DC6"
AddSkillButton = "/data/global/ui/PANEL/level.DC6"
GoldMoveDialog = "/data/global/ui/menu/dialogbackground.DC6"
WPTabs = "/data/global/ui/MENU/expwaygatetabs.dc6"
WPTabs = "/data/global/ui/menu/expwaygatetabs.dc6"
WPBg = "/data/global/ui/menu/waygatebackground.dc6"
WPIcons = "/data/global/ui/menu/waygateicons.dc6"

View File

@ -83,7 +83,6 @@ const (
)
const (
tab1BaseFrame = iota * 2
tab2BaseFrame
tab3BaseFrame

View File

@ -77,7 +77,6 @@ const (
questNone = 0
)
func (s *QuestLog) questTable(act, number int) struct {
name string
numberOfDescrs int
@ -327,7 +326,6 @@ func (s *QuestLog) loadQuestIconsForAct(act int) *d2ui.WidgetGroup {
return wg
}
func (s *QuestLog) makeQuestCallback(n int) func() {
return func() {
s.onQuestClicked(n + 1)
@ -347,7 +345,7 @@ func (s *QuestLog) setTab(tab int) {
s.selectedTab = tab
s.selectedQuest = questNone
s.setQuestLabels()
s.questsa1.SetVisible(tab == questLogTab1)
s.questsa2.SetVisible(tab == questLogTab2)
s.questsa3.SetVisible(tab == questLogTab3)