From 73b8be0fef6603b5dd3a101c26a4947669068d5e Mon Sep 17 00:00:00 2001 From: bibo38 Date: Sat, 31 Oct 2015 16:24:45 +0100 Subject: Implemented the FireResistence potion effects. This not only provides fire resistence, but also prevents blaze fireballs. See #2556 --- src/Entities/Entity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/Entity.h') diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 0161db387..0f8297d73 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -367,7 +367,7 @@ public: /** Sets whether the entity is fireproof */ void SetIsFireproof(bool a_IsFireproof); - bool IsFireproof(void) const { return m_IsFireproof; } + virtual bool IsFireproof(void) const { return m_IsFireproof; } /** Puts the entity on fire for the specified amount of ticks */ void StartBurning(int a_TicksLeftBurning); -- cgit v1.2.3