summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r--src/resources/spritedef.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp
index 6ea358448..1f5b02610 100644
--- a/src/resources/spritedef.cpp
+++ b/src/resources/spritedef.cpp
@@ -165,16 +165,22 @@ void SpriteDef::substituteActions()
substituteAction(SpriteAction::SPAWN, SpriteAction::STAND);
substituteAction(SpriteAction::FLY, SpriteAction::MOVE);
substituteAction(SpriteAction::SWIM, SpriteAction::MOVE);
+ substituteAction(SpriteAction::RIDE, SpriteAction::MOVE);
substituteAction(SpriteAction::STANDSKY, SpriteAction::STAND);
substituteAction(SpriteAction::STANDWATER, SpriteAction::STAND);
+ substituteAction(SpriteAction::STANDRIDE, SpriteAction::STAND);
substituteAction(SpriteAction::SITSKY, SpriteAction::SIT);
substituteAction(SpriteAction::SITWATER, SpriteAction::SIT);
+ substituteAction(SpriteAction::SITRIDE, SpriteAction::SIT);
substituteAction(SpriteAction::ATTACKSKY, SpriteAction::ATTACK);
substituteAction(SpriteAction::ATTACKWATER, SpriteAction::ATTACK);
+ substituteAction(SpriteAction::ATTACKRIDE, SpriteAction::ATTACK);
substituteAction(SpriteAction::SPAWNSKY, SpriteAction::SPAWN);
substituteAction(SpriteAction::SPAWNWATER, SpriteAction::SPAWN);
+ substituteAction(SpriteAction::SPAWNRIDE, SpriteAction::SPAWN);
substituteAction(SpriteAction::DEADSKY, SpriteAction::DEAD);
substituteAction(SpriteAction::DEADWATER, SpriteAction::DEAD);
+ substituteAction(SpriteAction::DEADRIDE, SpriteAction::DEAD);
}
void SpriteDef::loadSprite(const XmlNodePtr spriteNode, const int variant,