summaryrefslogtreecommitdiff
path: root/src/game-server/character.hpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-23 00:38:23 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-23 00:38:23 +0000
commit37a7b026881ce23fb22ae66b32c8ef9695e8a0de (patch)
tree31d951e855ce29ba51bdc5b79862078a5fac5cf6 /src/game-server/character.hpp
parent164f19d705d0fc5745b7dda0547c23d1d06d05a1 (diff)
downloadmanaserv-37a7b026881ce23fb22ae66b32c8ef9695e8a0de.tar.gz
manaserv-37a7b026881ce23fb22ae66b32c8ef9695e8a0de.tar.bz2
manaserv-37a7b026881ce23fb22ae66b32c8ef9695e8a0de.tar.xz
manaserv-37a7b026881ce23fb22ae66b32c8ef9695e8a0de.zip
Mostly fixed some compilation issues.
Diffstat (limited to 'src/game-server/character.hpp')
-rw-r--r--src/game-server/character.hpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/game-server/character.hpp b/src/game-server/character.hpp
index db93e5e7..4931624c 100644
--- a/src/game-server/character.hpp
+++ b/src/game-server/character.hpp
@@ -51,7 +51,7 @@ class Character : public Being, public AbstractCharacterData
* Utility constructor for creating a Character from a received
* characterdata message.
*/
- Character(MessageIn & msg);
+ Character(MessageIn &msg);
/**
* Updates the internal status.
@@ -78,7 +78,7 @@ class Character : public Being, public AbstractCharacterData
{ return mPossessions; }
- /**
+ /*
* Character data:
* Get and set methods
*/
@@ -262,8 +262,14 @@ class Character : public Being, public AbstractCharacterData
GameClient *mClient; /**< Client computer. */
- std::vector<unsigned short> mOldAttributes; /**< Atributes as the client should currently know them */
- bool attributesChanged; /**< true when one or more attributes might have changed since the client has been updated about them. */
+ /** Atributes as the client should currently know them. */
+ std::vector<unsigned short> mOldAttributes;
+
+ /**
+ * true when one or more attributes might have changed since the
+ * client has been updated about them.
+ */
+ bool mAttributesChanged;
int mDatabaseID; /**< Character's database ID. */
std::string mName; /**< Name of the character. */