From 37a7b026881ce23fb22ae66b32c8ef9695e8a0de Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 23 Mar 2007 00:38:23 +0000 Subject: Mostly fixed some compilation issues. --- src/game-server/being.cpp | 2 +- src/game-server/character.cpp | 2 +- src/game-server/character.hpp | 14 ++++++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) (limited to 'src/game-server') diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp index d3c151e7..87bcb0a3 100644 --- a/src/game-server/being.cpp +++ b/src/game-server/being.cpp @@ -206,4 +206,4 @@ WeaponStats Being::getWeaponStats() weaponStats.skill = 0; return weaponStats; -}; +} diff --git a/src/game-server/character.cpp b/src/game-server/character.cpp index 4e09d791..e2d45666 100644 --- a/src/game-server/character.cpp +++ b/src/game-server/character.cpp @@ -124,7 +124,7 @@ Character::getWeaponStats() weaponStats.skill = CHAR_SKILL_WEAPON_UNARMED; return weaponStats; -}; +} void Character::writeAttributeUpdateMessage(MessageOut &msg) 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 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 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. */ -- cgit v1.2.3-60-g2f50