diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index 5c09218c..7ad83e5e 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -276,6 +276,10 @@ void Being::setAction(Action action) case ATTACK: if (mEquippedWeapon) { + currentAction = mEquippedWeapon->getAttackType(); + } + else + { currentAction = ACTION_ATTACK; } for (int i = 0; i < VECTOREND_SPRITE; i++) |