summaryrefslogtreecommitdiffstats
path: root/src/Entities/EntityEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/EntityEffects.cpp')
-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
+}