summaryrefslogtreecommitdiff
path: root/src/gui/widgets/skilllistbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-14 20:23:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-14 20:23:15 +0300
commit3fc421539bc81f27262b91554694509f3e47f865 (patch)
treeb191e1de4932ddcd3fad4a6780d0308f79d68e5e /src/gui/widgets/skilllistbox.h
parent6a763f58ad8ab52b9b444b096a8f298d440e0a65 (diff)
downloadmv-3fc421539bc81f27262b91554694509f3e47f865.tar.gz
mv-3fc421539bc81f27262b91554694509f3e47f865.tar.bz2
mv-3fc421539bc81f27262b91554694509f3e47f865.tar.xz
mv-3fc421539bc81f27262b91554694509f3e47f865.zip
Show cast type in skill popup from custom place.
For skill shortcuts for now it always "Default".
Diffstat (limited to 'src/gui/widgets/skilllistbox.h')
-rw-r--r--src/gui/widgets/skilllistbox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/skilllistbox.h b/src/gui/widgets/skilllistbox.h
index 818dbf8cb..533d12b5e 100644
--- a/src/gui/widgets/skilllistbox.h
+++ b/src/gui/widgets/skilllistbox.h
@@ -200,7 +200,8 @@ class SkillListBox final : public ListBox
if (!skill)
return;
skillPopup->show(skill,
- skill->customSelectedLevel);
+ skill->customSelectedLevel,
+ skill->customCastType);
skillPopup->position(viewport->mMouseX,
viewport->mMouseY);
}