summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pawn.h
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2020-09-17 00:01:20 +0200
committerGitHub <noreply@github.com>2020-09-17 00:01:20 +0200
commit53549a1a4ce320c1e3f449165c290c74d3de54d4 (patch)
tree5f7d6cda28281d381bbecf7cb0f3b820057000b4 /src/Entities/Pawn.h
parentFixed doors not breakable by piston (#4869) (diff)
downloadcuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar
cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.gz
cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.bz2
cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.lz
cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.xz
cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.zst
cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Pawn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Pawn.h b/src/Entities/Pawn.h
index f68db63e9..f4b1cbbbf 100644
--- a/src/Entities/Pawn.h
+++ b/src/Entities/Pawn.h
@@ -66,10 +66,10 @@ public:
void TargetingMe(cMonster * a_Monster);
/** Returns all entity effects */
- std::map<cEntityEffect::eType, cEntityEffect *> GetEntityEffects();
+ std::map<cEntityEffect::eType, cEntityEffect *> GetEntityEffects() const;
/** Returns the entity effect, if it is currently applied or nullptr if not. */
- cEntityEffect * GetEntityEffect(cEntityEffect::eType a_EffectType);
+ cEntityEffect * GetEntityEffect(cEntityEffect::eType a_EffectType) const;
protected:
typedef std::map<cEntityEffect::eType, std::unique_ptr<cEntityEffect>> tEffectMap;