From 1a5c1d155337923ab8b0c208ba7cc4dc3cb70e18 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Nov 2015 16:15:55 +0300 Subject: Remove unused sprite action mapping. --- src/resources/spritedef.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/resources/spritedef.cpp') 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); -- cgit v1.2.3-70-g09d2