summaryrefslogtreecommitdiffstats
path: root/source/Entities/ProjectileEntity.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-03 08:37:15 +0200
committermadmaxoft <github@xoft.cz>2013-09-03 08:37:15 +0200
commit3a921955d94851b4f0148f69f3f0c35a227aa8f5 (patch)
tree7a19cc7ee486fc58f5f3a6739676d84b2878e27d /source/Entities/ProjectileEntity.h
parentProjectiles slow down in water and lava. (diff)
downloadcuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar
cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.gz
cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.bz2
cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.lz
cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.xz
cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.zst
cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.zip
Diffstat (limited to '')
-rw-r--r--source/Entities/ProjectileEntity.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Entities/ProjectileEntity.h b/source/Entities/ProjectileEntity.h
index da82c82ea..bd282d7e7 100644
--- a/source/Entities/ProjectileEntity.h
+++ b/source/Entities/ProjectileEntity.h
@@ -140,6 +140,9 @@ protected:
/// The coefficient applied to the damage that the arrow will deal, based on the bow enchantment. 2.0 for normal arrow
double m_DamageCoeff;
+
+ /// If true, the arrow deals more damage
+ bool m_IsCritical;
// cProjectileEntity overrides:
virtual void SpawnOn(cClientHandle & a_Client) override;