summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-07-28 19:25:01 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-07-28 19:25:01 +0200
commit44d8856c777790449df46e3b5348a6a7433a75d8 (patch)
tree45a8587edc9f03151da04d034d1f6fbf202a5381 /src/being.cpp
parent07abd88c7e3d606aaa0c8c7387c398d93daae445 (diff)
downloadmana-44d8856c777790449df46e3b5348a6a7433a75d8.tar.gz
mana-44d8856c777790449df46e3b5348a6a7433a75d8.tar.bz2
mana-44d8856c777790449df46e3b5348a6a7433a75d8.tar.xz
mana-44d8856c777790449df46e3b5348a6a7433a75d8.zip
Changed mAttackType to mWeaponAttackType were appropriate.
To avoid misunderstanding between the actual attackType and this one. (Trivial fix.)
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 56c2c69a..7a1f3eec 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -563,7 +563,7 @@ void Being::setAction(Action action, int attackType)
case ATTACK:
if (mEquippedWeapon)
{
- currentAction = mEquippedWeapon->getAttackType();
+ currentAction = mEquippedWeapon->getWeaponAttackType();
reset();
}
else