summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 0560a0e2be..e6c08b891d 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -143,7 +143,7 @@ public:
virtual bool cannot_fight() const = 0;
virtual void attacking(actor *other) = 0;
virtual void go_berserk(bool intentional) = 0;
- virtual void hurt(actor *attacker, int amount) = 0;
+ virtual void hurt(const actor *attacker, int amount) = 0;
virtual void heal(int amount, bool max_too = false) = 0;
virtual void banish(const std::string &who = "") = 0;
virtual void blink() = 0;
@@ -764,7 +764,7 @@ public:
void confuse(int strength);
void rot(actor *agent, int rotlevel, int immed_rot);
void heal(int amount, bool max_too = false);
- void hurt(actor *agent, int amount);
+ void hurt(const actor *agent, int amount);
int holy_aura() const;
int warding() const;
@@ -994,7 +994,7 @@ public:
void slow_down(int str);
void confuse(int strength);
void rot(actor *agent, int rotlevel, int immed_rot);
- void hurt(actor *agent, int amount);
+ void hurt(const actor *agent, int amount);
void heal(int amount, bool max_too = false);
void blink();
void teleport(bool right_now = false, bool abyss_shift = false);