diff options
author | archshift <admin@archshift.com> | 2014-06-17 05:22:17 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-19 07:54:14 +0200 |
commit | f5529e544cf8350daf8a20bb8d997f85ee2824f7 (patch) | |
tree | 6cf5b1e2989671e7f5b9100e66b8cee015777f14 /src/Entities/Pawn.h | |
parent | Entity effects: changed User to Creator, removed pawn pass-by-value (diff) | |
download | cuberite-f5529e544cf8350daf8a20bb8d997f85ee2824f7.tar cuberite-f5529e544cf8350daf8a20bb8d997f85ee2824f7.tar.gz cuberite-f5529e544cf8350daf8a20bb8d997f85ee2824f7.tar.bz2 cuberite-f5529e544cf8350daf8a20bb8d997f85ee2824f7.tar.lz cuberite-f5529e544cf8350daf8a20bb8d997f85ee2824f7.tar.xz cuberite-f5529e544cf8350daf8a20bb8d997f85ee2824f7.tar.zst cuberite-f5529e544cf8350daf8a20bb8d997f85ee2824f7.zip |
Diffstat (limited to 'src/Entities/Pawn.h')
-rw-r--r-- | src/Entities/Pawn.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Entities/Pawn.h b/src/Entities/Pawn.h index 9f7771d79..307e5db3d 100644 --- a/src/Entities/Pawn.h +++ b/src/Entities/Pawn.h @@ -2,7 +2,7 @@ #pragma once #include "Entity.h" -#include "EntityEffects.h" +#include "EntityEffect.h" @@ -46,14 +46,8 @@ public: // tolua_end protected: - typedef std::map<cEntityEffect::eType, cEntityEffect> tEffectMap; + typedef std::map<cEntityEffect::eType, cEntityEffect *> tEffectMap; tEffectMap m_EntityEffects; - - /** Applies entity effect effects - * @param a_EffectType The selected entity effect - * @param a_Effect The parameters of the selected entity effect - */ - virtual void HandleEntityEffect(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect); } ; // tolua_export |