summaryrefslogtreecommitdiffstats
path: root/src/Entities/EntityEffect.cpp
diff options
context:
space:
mode:
authorChris Darnell <chris@cedeel.com>2014-09-23 00:23:56 +0200
committerChris Darnell <chris@cedeel.com>2014-09-23 00:23:56 +0200
commit806871b86f2f04545f20caa6a8c30db2ccb7bc12 (patch)
treed77d1df4b459af2363ebf2d3044981d15b78eb81 /src/Entities/EntityEffect.cpp
parentUpdated README.md (diff)
downloadcuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.gz
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.bz2
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.lz
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.xz
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.tar.zst
cuberite-806871b86f2f04545f20caa6a8c30db2ccb7bc12.zip
Diffstat (limited to 'src/Entities/EntityEffect.cpp')
-rw-r--r--src/Entities/EntityEffect.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/EntityEffect.cpp b/src/Entities/EntityEffect.cpp
index 1a923930f..98c5d23b4 100644
--- a/src/Entities/EntityEffect.cpp
+++ b/src/Entities/EntityEffect.cpp
@@ -96,6 +96,7 @@ int cEntityEffect::GetPotionEffectDuration(short a_ItemDamage)
base = 1800;
break;
}
+ default: break;
}
// If potion is level II, half the duration. If not, stays the same