diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-27 13:25:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-27 13:25:41 +0300 |
commit | c61f1b6abe8e68995f00ae3a939afe5049e5cdb3 (patch) | |
tree | c50613a2c7722fba4aba9d5a67949b118a279b33 /src/being/actorsprite.h | |
parent | b481cd74dfd1629ca7b045cde57562e752c49638 (diff) | |
download | manaplus-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.tar.gz manaplus-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.tar.bz2 manaplus-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.tar.xz manaplus-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.zip |
Remove manaserv ifdefs code.
ManaServ was already depricated long ago.
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r-- | src/being/actorsprite.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h index f9876fa79..444232ddd 100644 --- a/src/being/actorsprite.h +++ b/src/being/actorsprite.h @@ -183,14 +183,7 @@ public: { return getPixelX() - mapTileSize / 2; } int getActorY() const - { -#ifdef MANASERV_SUPPORT - return getPixelY() + ((Net::getNetworkType() == ServerInfo::MANASERV) - ? 15 : mapTileSize); -#else - return getPixelY() - mapTileSize; -#endif - } + { return getPixelY() - mapTileSize; } protected: /** |