diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-03 17:54:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-03 17:54:54 +0300 |
commit | 510c8595205081a8c19002ce46b1cc0de35e59c2 (patch) | |
tree | 2d179f4e07e266ef98e025cd395f8586019e76e6 /src/resources/spritedef.cpp | |
parent | ad43e58d901bcc89632c80bdcf498acf2f1717c2 (diff) | |
download | manaverse-510c8595205081a8c19002ce46b1cc0de35e59c2.tar.gz manaverse-510c8595205081a8c19002ce46b1cc0de35e59c2.tar.bz2 manaverse-510c8595205081a8c19002ce46b1cc0de35e59c2.tar.xz manaverse-510c8595205081a8c19002ce46b1cc0de35e59c2.zip |
Add ride sprite actions.
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r-- | src/resources/spritedef.cpp | 6 |
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, |