summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r--src/being/actorsprite.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index 7b5da3aa7..f5d4f0214 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -22,6 +22,8 @@
#ifndef BEING_ACTORSPRITE_H
#define BEING_ACTORSPRITE_H
+#include "enums/simpletypes.h"
+
#include "resources/map/blocktype.h"
#include "resources/map/mapconsts.h"
@@ -118,7 +120,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
mStunMode = stunMode;
}
- void setStatusEffect(const int index, const bool active);
+ void setStatusEffect(const int index, const Enable active);
/**
* A status effect block is a 16 bit mask of status effects. We assign
@@ -186,7 +188,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
* Notify self that a status effect has flipped.
* The new flag is passed.
*/
- virtual void updateStatusEffect(const int index, const bool newStatus);
+ virtual void updateStatusEffect(const int index, const Enable newStatus);
/**
* Handle an update to a status or stun effect