summaryrefslogtreecommitdiff
path: root/src/gui/skill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r--src/gui/skill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp
index 05b782d5..c3532072 100644
--- a/src/gui/skill.cpp
+++ b/src/gui/skill.cpp
@@ -236,7 +236,7 @@ bool SkillDialog::hasSkill(int id)
void SkillDialog::addSkill(int id, int lvl, int mp)
{
- SKILL *tmp = new SKILL();
+ SKILL *tmp = new SKILL;
tmp->id = id;
tmp->lv = lvl;
tmp->sp = mp;