summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 09ec02389..d65686805 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -771,7 +771,8 @@ void Being::handleSkill(Being *const victim, const int damage,
setAction(Being::ATTACK, 1);
SkillInfo *const skill = skillDialog->getSkill(skillId);
- const SkillData *const data = skill ? skill->getData1(skillLevel) : nullptr;
+ const SkillData *const data = skill
+ ? skill->getData1(skillLevel) : nullptr;
if (data)
fireMissile(victim, data->particle);