summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/being.h b/src/being.h
index 9ee60fcdf..f1cae8df7 100644
--- a/src/being.h
+++ b/src/being.h
@@ -23,12 +23,6 @@
#ifndef BEING_H
#define BEING_H
-#ifdef __GNUC__
-#define A_UNUSED __attribute__ ((unused))
-#else
-#define A_UNUSED
-#endif
-
#include "actorsprite.h"
#include "configlistener.h"
#include "equipment.h"
@@ -767,6 +761,8 @@ class Being : public ActorSprite, public ConfigListener
void attack2(Being *target = nullptr, bool keep = false,
bool dontChangeEquipment = false);
+ void updatePercentHP();
+
protected:
/**
* Sets the new path for this being.
@@ -909,6 +905,7 @@ class Being : public ActorSprite, public ConfigListener
bool mShop;
bool mAway;
bool mInactive;
+ unsigned mNumber;
};
extern std::list<BeingCacheEntry*> beingInfoCache;