From 842336f6d028dd8995b777439c9d1bf41f152d0f Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sun, 2 Nov 2008 02:07:04 +0000 Subject: Fixed weapon attacks, which apparently has been broken since the mapping code was imported, due to me changing the actions to enumerations. --- src/being.cpp | 3 --- 1 file changed, 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++) -- cgit v1.2.3-70-g09d2