summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index a65fb1af0..5f95fbfed 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -899,6 +899,12 @@ class Being notfinal : public ActorSprite,
const ChatObject *getChat() const
{ return mChat; }
+ void setKarma(const int karma)
+ { mKarma = karma; }
+
+ int getKarma() const
+ { return mKarma; }
+
protected:
/**
* Updates name's location.
@@ -1065,6 +1071,7 @@ class Being notfinal : public ActorSprite,
unsigned int mPvpRank;
unsigned int mNumber;
int mUsageCounter;
+ int mKarma;
uint8_t mLook;
unsigned char mHairColor;
bool mErased;