diff options
author | Chris Darnell <chris@cedeel.com> | 2014-09-23 00:23:56 +0200 |
---|---|---|
committer | Chris Darnell <chris@cedeel.com> | 2014-09-23 00:23:56 +0200 |
commit | 806871b86f2f04545f20caa6a8c30db2ccb7bc12 (patch) | |
tree | d77d1df4b459af2363ebf2d3044981d15b78eb81 /src/Entities/EntityEffect.cpp | |
parent | Updated README.md (diff) | |
download | cuberite-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.cpp | 1 |
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 |