diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-13 19:14:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-13 19:14:04 +0300 |
commit | 6ca3e7e52584261f9d43de1a68c09f20a762cac1 (patch) | |
tree | 09b6cf71e5b3679955f1b6e0833659c6d59ceea5 /src/being/actorsprite.cpp | |
parent | 8a8ef403f70b43458f90b6192ce8cedcf2c9a209 (diff) | |
download | manaverse-6ca3e7e52584261f9d43de1a68c09f20a762cac1.tar.gz manaverse-6ca3e7e52584261f9d43de1a68c09f20a762cac1.tar.bz2 manaverse-6ca3e7e52584261f9d43de1a68c09f20a762cac1.tar.xz manaverse-6ca3e7e52584261f9d43de1a68c09f20a762cac1.zip |
Move cursor drawing function from ActorSprite into Being.
Diffstat (limited to 'src/being/actorsprite.cpp')
-rw-r--r-- | src/being/actorsprite.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp index eab902537..41f7d92bd 100644 --- a/src/being/actorsprite.cpp +++ b/src/being/actorsprite.cpp @@ -103,20 +103,6 @@ ActorSprite::~ActorSprite() } } -void ActorSprite::draw1(Graphics *const graphics, - const int offsetX, - const int offsetY) const -{ - FUNC_BLOCK("ActorSprite::draw1", 1) - if (mUsedTargetCursor) - { - mUsedTargetCursor->update(tick_time * MILLISECONDS_IN_A_TICK); - mUsedTargetCursor->draw(graphics, - offsetX + getTargetOffsetX() - mCursorPaddingX, - offsetY + getTargetOffsetY() - mCursorPaddingY); - } -} - void ActorSprite::logic() { BLOCK_START("ActorSprite::logic") |