summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-13 03:36:00 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-13 03:36:00 +0300
commitc978b7f0d9de1bb6bd84cd299ed80c27c5147927 (patch)
tree8f1edc2be0816693761ba58aa7c7c554040a7db6 /src/actorsprite.cpp
parentda1b2d8311ca78eccd3e9875598562ce6bf05cab (diff)
downloadManaVerse-c978b7f0d9de1bb6bd84cd299ed80c27c5147927.tar.gz
ManaVerse-c978b7f0d9de1bb6bd84cd299ed80c27c5147927.tar.bz2
ManaVerse-c978b7f0d9de1bb6bd84cd299ed80c27c5147927.tar.xz
ManaVerse-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.cpp5
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);