summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index b4ea52df1..dd06c918d 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1358,6 +1358,7 @@ std::string Being::getAttackAction(const Attack *const attack1) const
getSpriteAction(Dead, DEAD)
getSpriteAction(Spawn, SPAWN)
+getSpriteAction(Cast, CAST)
std::string Being::getStandAction() const
{
@@ -1442,6 +1443,9 @@ void Being::setAction(const BeingActionT &action, const int attackId)
}
}
break;
+ case BeingAction::CAST:
+ currentAction = getCastAction();
+ break;
case BeingAction::HURT:
if (mInfo)
{