diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-14 16:15:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-14 16:15:55 +0300 |
commit | 1a5c1d155337923ab8b0c208ba7cc4dc3cb70e18 (patch) | |
tree | 8fbed46fc67d300e4a2b770df73ede2d75cb5b79 /src/resources/spritedef.cpp | |
parent | 49814ad77b3ed16ab66ae35f7fa3cae95faaa1f9 (diff) | |
download | mv-1a5c1d155337923ab8b0c208ba7cc4dc3cb70e18.tar.gz mv-1a5c1d155337923ab8b0c208ba7cc4dc3cb70e18.tar.bz2 mv-1a5c1d155337923ab8b0c208ba7cc4dc3cb70e18.tar.xz mv-1a5c1d155337923ab8b0c208ba7cc4dc3cb70e18.zip |
Remove unused sprite action mapping.
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r-- | src/resources/spritedef.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp index d63ffdd8e..9930f58b9 100644 --- a/src/resources/spritedef.cpp +++ b/src/resources/spritedef.cpp @@ -157,13 +157,9 @@ void SpriteDef::substituteActions() substituteAction(SpriteAction::STAND, SpriteAction::DEFAULT); substituteAction(SpriteAction::MOVE, SpriteAction::STAND); substituteAction(SpriteAction::ATTACK, SpriteAction::STAND); - substituteAction(SpriteAction::CAST_MAGIC, SpriteAction::ATTACK); - substituteAction(SpriteAction::USE_ITEM, SpriteAction::CAST_MAGIC); substituteAction(SpriteAction::SIT, SpriteAction::STAND); substituteAction(SpriteAction::SITTOP, SpriteAction::SIT); - substituteAction(SpriteAction::SLEEP, SpriteAction::SIT); - substituteAction(SpriteAction::HURT, SpriteAction::STAND); - substituteAction(SpriteAction::DEAD, SpriteAction::HURT); + substituteAction(SpriteAction::DEAD, SpriteAction::STAND); substituteAction(SpriteAction::SPAWN, SpriteAction::STAND); substituteAction(SpriteAction::FLY, SpriteAction::MOVE); substituteAction(SpriteAction::SWIM, SpriteAction::MOVE); |