From 24fcf548c2d570d1b23bf799159b64f170f738bd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 21 Dec 2012 19:29:00 +0300 Subject: Fix code style and other small issues. --- src/being.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/being.cpp') 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); -- cgit v1.2.3-70-g09d2