summaryrefslogtreecommitdiff
path: root/src/game-server
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
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')
-rw-r--r--src/game-server/being.cpp2
-rw-r--r--src/game-server/character.cpp2
-rw-r--r--src/game-server/character.hpp14
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. */