summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-21 19:29:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-21 19:29:00 +0300
commit24fcf548c2d570d1b23bf799159b64f170f738bd (patch)
tree8edc089f957791d394b0f65cdb6c079b9d2963c1 /src/being.cpp
parentb84d24167a06f5ab15394045600bb79834f3953a (diff)
downloadplus-24fcf548c2d570d1b23bf799159b64f170f738bd.tar.gz
plus-24fcf548c2d570d1b23bf799159b64f170f738bd.tar.bz2
plus-24fcf548c2d570d1b23bf799159b64f170f738bd.tar.xz
plus-24fcf548c2d570d1b23bf799159b64f170f738bd.zip
Fix code style and other small issues.
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);