summaryrefslogtreecommitdiffstats
path: root/src/Entities/EntityEffects.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-13 11:41:43 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:22 +0200
commit9e8361976b6b0dc4c62ef48a4744ba1f59fe4346 (patch)
treef474d56be32cc0d830b95f0d1283d8b1ee43b212 /src/Entities/EntityEffects.h
parentChanged the AddEntityEffect() params for easier calls. (diff)
downloadcuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.gz
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.bz2
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.lz
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.xz
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.zst
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/EntityEffects.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entities/EntityEffects.h b/src/Entities/EntityEffects.h
index c0e8abd28..2a4d0f723 100644
--- a/src/Entities/EntityEffects.h
+++ b/src/Entities/EntityEffects.h
@@ -45,7 +45,7 @@ public:
/** Returns how strong the effect will be applied */
short GetIntensity() { return m_Intensity; }
- /** Returns the pawn that used this entity effect */
+ /** Returns the pawn that produced this entity effect */
cPawn *GetUser() { return m_User; }
/** Returns the distance modifier for affecting potency */
@@ -62,7 +62,7 @@ public:
/** Creates an entity effect of the specified type
@param a_Duration How long this effect will last, in ticks
@param a_Intensity How strong the effect will be applied
- @param a_User The pawn that used this entity effect
+ @param a_User The pawn that produced this entity effect
@param a_DistanceModifier The distance modifier for affecting potency, defaults to 1 */
cEntityEffect(int a_Duration, short a_Intensity, cPawn * a_User, double a_DistanceModifier = 1);
@@ -73,7 +73,7 @@ private:
/** How strong the effect will be applied */
short m_Intensity;
- /** The pawn that used this entity effect */
+ /** The pawn that produced this entity effect (threw the potion, etc) */
cPawn *m_User;
/** The distance modifier for affecting potency */