summaryrefslogtreecommitdiff
path: root/src/actorsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/actorsprite.h')
-rw-r--r--src/actorsprite.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/actorsprite.h b/src/actorsprite.h
index 7ec5cc391..e130269bf 100644
--- a/src/actorsprite.h
+++ b/src/actorsprite.h
@@ -24,6 +24,7 @@
#include "actor.h"
#include "compoundsprite.h"
+#include "localconsts.h"
#include "map.h"
#include "particlecontainer.h"
@@ -122,7 +123,8 @@ public:
/**
* Untargets the actor.
*/
- void untarget() { mUsedTargetCursor = NULL; }
+ void untarget()
+ { mUsedTargetCursor = nullptr; }
/**
* Triggers a visual effect, such as `level up'. Only draws the visual