summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/EntityEffect.cpp2
-rw-r--r--src/Entities/EntityEffect.h3
-rw-r--r--src/Entities/SplashPotionEntity.cpp3
3 files changed, 2 insertions, 6 deletions
diff --git a/src/Entities/EntityEffect.cpp b/src/Entities/EntityEffect.cpp
index f58738aef..fdcbe822e 100644
--- a/src/Entities/EntityEffect.cpp
+++ b/src/Entities/EntityEffect.cpp
@@ -38,7 +38,7 @@ cEntityEffect::eType cEntityEffect::GetPotionEffectType(short a_ItemDamage)
case 0x0d: return cEntityEffect::effWaterBreathing;
case 0x0e: return cEntityEffect::effInvisibility;
- // No effect potions
+ // No effect potions
case 0x00:
case 0x07:
case 0x0b: // Will be potion of leaping in 1.8
diff --git a/src/Entities/EntityEffect.h b/src/Entities/EntityEffect.h
index 04e25e303..f9c1e4eb2 100644
--- a/src/Entities/EntityEffect.h
+++ b/src/Entities/EntityEffect.h
@@ -44,8 +44,7 @@ public:
static cEntityEffect::eType GetPotionEffectType(short a_ItemDamage);
- /** Retrieves the intensity level from the potion's damage value.
- Returns 0 for level I potions, 1 for level II potions. */
+ /** Retrieves the intensity level from the potion's damage value. Returns 0 for level I potions, 1 for level II potions. */
static short GetPotionEffectIntensity(short a_ItemDamage);
diff --git a/src/Entities/SplashPotionEntity.cpp b/src/Entities/SplashPotionEntity.cpp
index d874a86e1..ed16f060d 100644
--- a/src/Entities/SplashPotionEntity.cpp
+++ b/src/Entities/SplashPotionEntity.cpp
@@ -75,9 +75,6 @@ cSplashPotionEntity::cSplashPotionEntity(
cItem a_Item
) :
super(pkSplashPotion, a_Creator, a_X, a_Y, a_Z, 0.25, 0.25),
- m_EntityEffectType(cEntityEffect::effNoEffect),
- m_EntityEffect(cEntityEffect()),
- m_PotionColor(0),
m_DestroyTimer(-1)
{
SetSpeed(a_Speed);