summaryrefslogtreecommitdiff
path: root/src/avatar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/avatar.h')
-rw-r--r--src/avatar.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/avatar.h b/src/avatar.h
index a8e690b29..f079e367f 100644
--- a/src/avatar.h
+++ b/src/avatar.h
@@ -25,6 +25,8 @@
#include "enums/being/gender.h"
+#include "enums/simpletypes/beingid.h"
+
#include <string>
#include "localconsts.h"
@@ -144,10 +146,10 @@ class Avatar notfinal
void setExp(const int n)
{ mExp = n; }
- int getID() const A_WARN_UNUSED
+ BeingId getID() const A_WARN_UNUSED
{ return mId; }
- void setID(const int id)
+ void setID(const BeingId id)
{ mId = id; }
int getCharId() const A_WARN_UNUSED
@@ -181,7 +183,7 @@ class Avatar notfinal
{ mPoison = b; }
protected:
- int mId;
+ BeingId mId;
int mCharId;
std::string mName;
std::string mOriginalName;