summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-13 19:14:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-13 19:14:04 +0300
commit6ca3e7e52584261f9d43de1a68c09f20a762cac1 (patch)
tree09b6cf71e5b3679955f1b6e0833659c6d59ceea5 /src/being/actorsprite.cpp
parent8a8ef403f70b43458f90b6192ce8cedcf2c9a209 (diff)
downloadmv-6ca3e7e52584261f9d43de1a68c09f20a762cac1.tar.gz
mv-6ca3e7e52584261f9d43de1a68c09f20a762cac1.tar.bz2
mv-6ca3e7e52584261f9d43de1a68c09f20a762cac1.tar.xz
mv-6ca3e7e52584261f9d43de1a68c09f20a762cac1.zip
Move cursor drawing function from ActorSprite into Being.
Diffstat (limited to 'src/being/actorsprite.cpp')
-rw-r--r--src/being/actorsprite.cpp14
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")