diff options
Diffstat (limited to 'src/game-server')
-rw-r--r-- | src/game-server/being.cpp | 2 | ||||
-rw-r--r-- | src/game-server/character.cpp | 2 | ||||
-rw-r--r-- | src/game-server/character.hpp | 14 |
3 files changed, 12 insertions, 6 deletions
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<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. */ |