summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-16 18:50:20 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-16 22:33:53 +0300
commit0fa3de24e2e6931a07cbc1fb3dadfff9091250cf (patch)
treecf8829ca7d273b2464f724308c2fd419f407cc61 /src/being.cpp
parentade168344165534061b8f184866e2808af7f5d48 (diff)
downloadmv-0fa3de24e2e6931a07cbc1fb3dadfff9091250cf.tar.gz
mv-0fa3de24e2e6931a07cbc1fb3dadfff9091250cf.tar.bz2
mv-0fa3de24e2e6931a07cbc1fb3dadfff9091250cf.tar.xz
mv-0fa3de24e2e6931a07cbc1fb3dadfff9091250cf.zip
Separate in skills skill info and skill data for future usage.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being.cpp b/src/being.cpp
index c425f89a4..fa7b3ee85 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -772,7 +772,7 @@ void Being::handleSkill(Being *const victim, const int damage,
const SkillInfo *const skill = skillDialog->getSkill(skillId);
if (skill)
- fireMissile(victim, skill->particle);
+ fireMissile(victim, skill->data.particle);
#ifdef MANASERV_SUPPORT
if (Net::getNetworkType() != ServerInfo::MANASERV)
@@ -795,9 +795,9 @@ void Being::handleSkill(Being *const victim, const int damage,
if (skill)
{
if (damage > 0)
- sound.playSfx(skill->soundHit, mX, mY);
+ sound.playSfx(skill->data.soundHit, mX, mY);
else
- sound.playSfx(skill->soundMiss, mX, mY);
+ sound.playSfx(skill->data.soundMiss, mX, mY);
}
else
{