summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-08 03:48:33 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:20 +0200
commit8eceaf9b0cadbc253e46cdcbf8a7b5e8d6070846 (patch)
treee63e20ed65f0a892a912b832e410a7563060c404 /src/Entities/Entity.h
parentImplemented drinkable potions, noeffect entity effect, (diff)
downloadcuberite-8eceaf9b0cadbc253e46cdcbf8a7b5e8d6070846.tar
cuberite-8eceaf9b0cadbc253e46cdcbf8a7b5e8d6070846.tar.gz
cuberite-8eceaf9b0cadbc253e46cdcbf8a7b5e8d6070846.tar.bz2
cuberite-8eceaf9b0cadbc253e46cdcbf8a7b5e8d6070846.tar.lz
cuberite-8eceaf9b0cadbc253e46cdcbf8a7b5e8d6070846.tar.xz
cuberite-8eceaf9b0cadbc253e46cdcbf8a7b5e8d6070846.tar.zst
cuberite-8eceaf9b0cadbc253e46cdcbf8a7b5e8d6070846.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 2df66e353..b8f1f4c1c 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -315,7 +315,7 @@ public:
virtual void Killed(cEntity * a_Victim) {}
/// Heals the specified amount of HPs
- void Heal(int a_HitPoints);
+ virtual void Heal(int a_HitPoints);
/// Returns the health of this entity
int GetHealth(void) const { return m_Health; }