summaryrefslogtreecommitdiffstats
path: root/src/Entities/EntityEffects.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-13 10:50:09 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:21 +0200
commit22761bb6ad4b121ae3b2319a9a2541a6bb8a982c (patch)
tree963f0f90cb29a2cbd4c201bcae06d3fb20965394 /src/Entities/EntityEffects.cpp
parentFixed MSVC compilation. (diff)
downloadcuberite-22761bb6ad4b121ae3b2319a9a2541a6bb8a982c.tar
cuberite-22761bb6ad4b121ae3b2319a9a2541a6bb8a982c.tar.gz
cuberite-22761bb6ad4b121ae3b2319a9a2541a6bb8a982c.tar.bz2
cuberite-22761bb6ad4b121ae3b2319a9a2541a6bb8a982c.tar.lz
cuberite-22761bb6ad4b121ae3b2319a9a2541a6bb8a982c.tar.xz
cuberite-22761bb6ad4b121ae3b2319a9a2541a6bb8a982c.tar.zst
cuberite-22761bb6ad4b121ae3b2319a9a2541a6bb8a982c.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/EntityEffects.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Entities/EntityEffects.cpp b/src/Entities/EntityEffects.cpp
index c74463bfa..e8448a6f1 100644
--- a/src/Entities/EntityEffects.cpp
+++ b/src/Entities/EntityEffects.cpp
@@ -8,6 +8,7 @@
cEntityEffect::cEntityEffect():
m_Ticks(0),
+ m_Duration(0),
m_Intensity(0),
m_User(NULL),
m_DistanceModifier(1)
@@ -19,11 +20,12 @@ cEntityEffect::cEntityEffect():
-cEntityEffect::cEntityEffect(int a_Ticks, short a_Intensity, cPawn *a_User, double a_DistanceModifier):
- m_Ticks(a_Ticks),
+cEntityEffect::cEntityEffect(int a_Duration, short a_Intensity, cPawn *a_User, double a_DistanceModifier):
+ m_Ticks(0),
+ m_Duration(a_Duration),
m_Intensity(a_Intensity),
m_User(a_User),
m_DistanceModifier(a_DistanceModifier)
{
-} \ No newline at end of file
+}