diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 58a9292ae..bf317b8cd 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -708,6 +708,16 @@ void SkillDialog::useSkill(const SkillInfo *const info, break; case SkillType::Ground: + { + int x = 0; + int y = 0; + viewport->getMouseTile(x, y); + skillHandler->usePos(info->id, + info->level, + x, y); + break; + } + case SkillType::TargetTrap: // for now unused break; |