diff options
author | Ira Rice <irarice@gmail.com> | 2008-11-02 02:07:04 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-11-02 02:07:04 +0000 |
commit | 842336f6d028dd8995b777439c9d1bf41f152d0f (patch) | |
tree | 8dad431081a97e7b2901c3bed6bc881b779cad8a /src | |
parent | d41605e5aff79d26075a7ddbc9e6c021b9a5c35b (diff) | |
download | mana-842336f6d028dd8995b777439c9d1bf41f152d0f.tar.gz mana-842336f6d028dd8995b777439c9d1bf41f152d0f.tar.bz2 mana-842336f6d028dd8995b777439c9d1bf41f152d0f.tar.xz mana-842336f6d028dd8995b777439c9d1bf41f152d0f.zip |
Fixed weapon attacks, which apparently has been broken since the mapping code was imported, due to me changing the
actions to enumerations.
Diffstat (limited to 'src')
-rw-r--r-- | src/being.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/being.cpp b/src/being.cpp index 245e023e..b4e7847d 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -276,9 +276,6 @@ void Being::setAction(Action action) case ATTACK: if (mEquippedWeapon) { - currentAction = mEquippedWeapon->getAttackType(); - } - else { currentAction = ACTION_ATTACK; } for (int i = 0; i < VECTOREND_SPRITE; i++) |