summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-06-08 09:28:50 -0600
committerJared Adams <jaxad0127@gmail.com>2009-06-08 09:28:50 -0600
commit8596b1a8102726de0d7b3df12dff86f5c974e6fe (patch)
treee4403af689615f6fe8625beb679538780ecfba67 /src/being.h
parentc9f52e60ea7eadca0d11fc0bbf7eb8a6ad465925 (diff)
downloadmana-client-8596b1a8102726de0d7b3df12dff86f5c974e6fe.tar.gz
mana-client-8596b1a8102726de0d7b3df12dff86f5c974e6fe.tar.bz2
mana-client-8596b1a8102726de0d7b3df12dff86f5c974e6fe.tar.xz
mana-client-8596b1a8102726de0d7b3df12dff86f5c974e6fe.zip
Merge being direction handling code
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/being.h b/src/being.h
index d451bb52..e5068952 100644
--- a/src/being.h
+++ b/src/being.h
@@ -358,12 +358,8 @@ class Being : public Sprite, public ConfigListener
/**
* Returns the direction the being is facing.
*/
-#ifdef TMWSERV_SUPPORT
SpriteDirection getSpriteDirection() const
{ return SpriteDirection(mSpriteDirection); }
-#else
- SpriteDirection getSpriteDirection() const;
-#endif
/**
* Draws this being to the given graphics context.
@@ -558,9 +554,7 @@ class Being : public Sprite, public ConfigListener
int mId; /**< Unique sprite id */
Uint8 mDirection; /**< Facing direction */
-#ifdef TMWSERV_SUPPORT
Uint8 mSpriteDirection; /**< Facing direction */
-#endif
Map *mMap; /**< Map on which this being resides */
std::string mName; /**< Name of character */
SpriteIterator mSpriteIterator;