diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-31 22:23:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-31 22:23:23 +0300 |
commit | fc5ba333f8832f3d8e054e7c74df1e3cd353645f (patch) | |
tree | 16aabceaaa2b197d006bd357d3176acac292cde7 /src/resources/spritedef.cpp | |
parent | 9875c00dc37b1d7b55e1154075a0cd2d997a490d (diff) | |
download | plus-fc5ba333f8832f3d8e054e7c74df1e3cd353645f.tar.gz plus-fc5ba333f8832f3d8e054e7c74df1e3cd353645f.tar.bz2 plus-fc5ba333f8832f3d8e054e7c74df1e3cd353645f.tar.xz plus-fc5ba333f8832f3d8e054e7c74df1e3cd353645f.zip |
Add sittop sprites support.
Add groundtop collision support (not collision but special selected tiles).
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r-- | src/resources/spritedef.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp index 4aa0eada4..da3b70559 100644 --- a/src/resources/spritedef.cpp +++ b/src/resources/spritedef.cpp @@ -143,6 +143,7 @@ void SpriteDef::substituteActions() 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); |