summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-14 17:25:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-14 17:25:37 +0300
commit15424641cca695650f4b56c37711c12c81cf2c32 (patch)
tree6438f82c7542e265897c98565242767b2f9a0adc /src/resources/spritedef.cpp
parent1a5c1d155337923ab8b0c208ba7cc4dc3cb70e18 (diff)
downloadmv-15424641cca695650f4b56c37711c12c81cf2c32.tar.gz
mv-15424641cca695650f4b56c37711c12c81cf2c32.tar.bz2
mv-15424641cca695650f4b56c37711c12c81cf2c32.tar.xz
mv-15424641cca695650f4b56c37711c12c81cf2c32.zip
Add cast action to beings.
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r--src/resources/spritedef.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp
index 9930f58b9..8626a9e6e 100644
--- a/src/resources/spritedef.cpp
+++ b/src/resources/spritedef.cpp
@@ -157,6 +157,7 @@ void SpriteDef::substituteActions()
substituteAction(SpriteAction::STAND, SpriteAction::DEFAULT);
substituteAction(SpriteAction::MOVE, SpriteAction::STAND);
substituteAction(SpriteAction::ATTACK, SpriteAction::STAND);
+ substituteAction(SpriteAction::CAST, SpriteAction::ATTACK);
substituteAction(SpriteAction::SIT, SpriteAction::STAND);
substituteAction(SpriteAction::SITTOP, SpriteAction::SIT);
substituteAction(SpriteAction::DEAD, SpriteAction::STAND);
@@ -173,6 +174,9 @@ void SpriteDef::substituteActions()
substituteAction(SpriteAction::ATTACKSKY, SpriteAction::ATTACK);
substituteAction(SpriteAction::ATTACKWATER, SpriteAction::ATTACK);
substituteAction(SpriteAction::ATTACKRIDE, SpriteAction::ATTACK);
+ substituteAction(SpriteAction::CASTSKY, SpriteAction::CAST);
+ substituteAction(SpriteAction::CASTWATER, SpriteAction::CAST);
+ substituteAction(SpriteAction::CASTRIDE, SpriteAction::CAST);
substituteAction(SpriteAction::SPAWNSKY, SpriteAction::SPAWN);
substituteAction(SpriteAction::SPAWNWATER, SpriteAction::SPAWN);
substituteAction(SpriteAction::SPAWNRIDE, SpriteAction::SPAWN);