diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-13 03:36:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-13 03:36:00 +0300 |
commit | c978b7f0d9de1bb6bd84cd299ed80c27c5147927 (patch) | |
tree | 8f1edc2be0816693761ba58aa7c7c554040a7db6 /src/actorsprite.cpp | |
parent | da1b2d8311ca78eccd3e9875598562ce6bf05cab (diff) | |
download | mv-c978b7f0d9de1bb6bd84cd299ed80c27c5147927.tar.gz mv-c978b7f0d9de1bb6bd84cd299ed80c27c5147927.tar.bz2 mv-c978b7f0d9de1bb6bd84cd299ed80c27c5147927.tar.xz mv-c978b7f0d9de1bb6bd84cd299ed80c27c5147927.zip |
Impliment new tags in sprites animations and random condition.
Tags: <label>, <goto>
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r-- | src/actorsprite.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp index 686c871e7..d87156285 100644 --- a/src/actorsprite.cpp +++ b/src/actorsprite.cpp @@ -488,8 +488,9 @@ void ActorSprite::loadTargetCursor(const std::string &filename, { // anim->addFrame(currentImageSet->get(i), 0, anim->addFrame(currentImageSet->get(i), 75, - (16 - (currentImageSet->getWidth() / 2)), - (16 - (currentImageSet->getHeight() / 2))); + (16 - (currentImageSet->getWidth() / 2)), + (16 - (currentImageSet->getHeight() / 2)), + 100); } SimpleAnimation *currentCursor = new SimpleAnimation(anim); |