diff options
author | Masy98 <masy@antheruscraft.de> | 2014-09-01 21:30:45 +0200 |
---|---|---|
committer | Masy98 <masy@antheruscraft.de> | 2014-09-01 21:30:45 +0200 |
commit | cc9acd13b90c2dff21b6a7b7d4db57780aba0fc7 (patch) | |
tree | de161c8abb3a9fb961b794e4d4cf255102b83715 /src/Entities/ArrowEntity.h | |
parent | Fixed spacing and light gray wool name! (diff) | |
parent | Merge pull request #1368 from mc-server/coverityFixes (diff) | |
download | cuberite-cc9acd13b90c2dff21b6a7b7d4db57780aba0fc7.tar cuberite-cc9acd13b90c2dff21b6a7b7d4db57780aba0fc7.tar.gz cuberite-cc9acd13b90c2dff21b6a7b7d4db57780aba0fc7.tar.bz2 cuberite-cc9acd13b90c2dff21b6a7b7d4db57780aba0fc7.tar.lz cuberite-cc9acd13b90c2dff21b6a7b7d4db57780aba0fc7.tar.xz cuberite-cc9acd13b90c2dff21b6a7b7d4db57780aba0fc7.tar.zst cuberite-cc9acd13b90c2dff21b6a7b7d4db57780aba0fc7.zip |
Diffstat (limited to 'src/Entities/ArrowEntity.h')
-rw-r--r-- | src/Entities/ArrowEntity.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Entities/ArrowEntity.h b/src/Entities/ArrowEntity.h index 4bfcb1f6d..a1e7a17e7 100644 --- a/src/Entities/ArrowEntity.h +++ b/src/Entities/ArrowEntity.h @@ -10,6 +10,7 @@ + // tolua_begin class cArrowEntity : @@ -46,7 +47,7 @@ public: /// Returns the damage modifier coeff. double GetDamageCoeff(void) const { return m_DamageCoeff; } - + /// Sets the damage modifier coeff void SetDamageCoeff(double a_DamageCoeff) { m_DamageCoeff = a_DamageCoeff; } @@ -89,7 +90,7 @@ protected: /// If true, the arrow is in the process of being collected - don't go to anyone else bool m_bIsCollected; - + /// Stores the block position that arrow is lodged into, sets m_IsInGround to false if it becomes air Vector3i m_HitBlockPos; |