diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-13 22:06:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-13 22:06:58 +0300 |
commit | 9e77738e7c8a01e343c060a12f0d9d44a96874ed (patch) | |
tree | a233f74e925958cd991019d1c35671433b1adf9a /src/being/being.cpp | |
parent | d2c64cb6995486136be2cd511ff7ad835d57c319 (diff) | |
download | mv-9e77738e7c8a01e343c060a12f0d9d44a96874ed.tar.gz mv-9e77738e7c8a01e343c060a12f0d9d44a96874ed.tar.bz2 mv-9e77738e7c8a01e343c060a12f0d9d44a96874ed.tar.xz mv-9e77738e7c8a01e343c060a12f0d9d44a96874ed.zip |
Split CompoundSprite::draw into draw and drawSimple.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index c3e63d41c..f31e45447 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -3050,7 +3050,7 @@ void Being::drawOtherSpriteAt(Graphics *restrict const graphics, const int x, const int y) const restrict2 { - CompoundSprite::draw(graphics, x, y); + CompoundSprite::drawSimple(graphics, x, y); } void Being::drawMonsterSpriteAt(Graphics *restrict const graphics, @@ -3063,7 +3063,7 @@ void Being::drawMonsterSpriteAt(Graphics *restrict const graphics, { if (!userPalette) { - CompoundSprite::draw(graphics, x, y); + CompoundSprite::drawSimple(graphics, x, y); return; } @@ -3081,7 +3081,7 @@ void Being::drawMonsterSpriteAt(Graphics *restrict const graphics, 2 * attackRange + mapTileSize, 2 * attackRange + mapTileSize)); } - CompoundSprite::draw(graphics, x, y); + CompoundSprite::drawSimple(graphics, x, y); if (mShowMobHP && mInfo && @@ -3118,7 +3118,7 @@ void Being::drawPortalSpriteAt(Graphics *restrict const graphics, { if (!userPalette) { - CompoundSprite::draw(graphics, x, y); + CompoundSprite::drawSimple(graphics, x, y); return; } @@ -3135,7 +3135,7 @@ void Being::drawPortalSpriteAt(Graphics *restrict const graphics, } } - CompoundSprite::draw(graphics, x, y); + CompoundSprite::drawSimple(graphics, x, y); } void Being::drawHpBar(Graphics *restrict const graphics, |