summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pawn.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-07 09:54:03 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:19 +0200
commite98ffccd80ae05d09b40d5edd407428515b14406 (patch)
tree072a8a6de986fabfe28502194e88d23d8bb7bec2 /src/Entities/Pawn.h
parentEntityEffect: read-only getters, added user and distance modifier fields (diff)
downloadcuberite-e98ffccd80ae05d09b40d5edd407428515b14406.tar
cuberite-e98ffccd80ae05d09b40d5edd407428515b14406.tar.gz
cuberite-e98ffccd80ae05d09b40d5edd407428515b14406.tar.bz2
cuberite-e98ffccd80ae05d09b40d5edd407428515b14406.tar.lz
cuberite-e98ffccd80ae05d09b40d5edd407428515b14406.tar.xz
cuberite-e98ffccd80ae05d09b40d5edd407428515b14406.tar.zst
cuberite-e98ffccd80ae05d09b40d5edd407428515b14406.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Pawn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/Pawn.h b/src/Entities/Pawn.h
index f7d7213ff..1a897c958 100644
--- a/src/Entities/Pawn.h
+++ b/src/Entities/Pawn.h
@@ -26,7 +26,8 @@ public:
void RemoveEntityEffect(cEntityEffect::eType a_EffectType);
protected:
- std::map<cEntityEffect::eType, cEntityEffect> m_EntityEffects;
+ typedef std::map<cEntityEffect::eType, cEntityEffect> tEffectMap;
+ tEffectMap m_EntityEffects;
virtual void HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect);
} ; // tolua_export