diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-21 19:29:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-21 19:29:00 +0300 |
commit | 24fcf548c2d570d1b23bf799159b64f170f738bd (patch) | |
tree | 8edc089f957791d394b0f65cdb6c079b9d2963c1 /src/being.cpp | |
parent | b84d24167a06f5ab15394045600bb79834f3953a (diff) | |
download | manaplus-24fcf548c2d570d1b23bf799159b64f170f738bd.tar.gz manaplus-24fcf548c2d570d1b23bf799159b64f170f738bd.tar.bz2 manaplus-24fcf548c2d570d1b23bf799159b64f170f738bd.tar.xz manaplus-24fcf548c2d570d1b23bf799159b64f170f738bd.zip |
Fix code style and other small issues.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 3 |
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); |