diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-23 10:41:45 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-23 10:41:45 +0100 |
commit | d8221854d2f529e8165d5153c767bb29a54646a8 (patch) | |
tree | 6882b9b814e769bc5cc33f0c2b59572f2718b42c /src/Entities/Entity.cpp | |
parent | Added some comments in main.cpp (diff) | |
download | cuberite-d8221854d2f529e8165d5153c767bb29a54646a8.tar cuberite-d8221854d2f529e8165d5153c767bb29a54646a8.tar.gz cuberite-d8221854d2f529e8165d5153c767bb29a54646a8.tar.bz2 cuberite-d8221854d2f529e8165d5153c767bb29a54646a8.tar.lz cuberite-d8221854d2f529e8165d5153c767bb29a54646a8.tar.xz cuberite-d8221854d2f529e8165d5153c767bb29a54646a8.tar.zst cuberite-d8221854d2f529e8165d5153c767bb29a54646a8.zip |
Diffstat (limited to 'src/Entities/Entity.cpp')
-rw-r--r-- | src/Entities/Entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 0f5ed7262..d82a89ab2 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -304,7 +304,7 @@ void cEntity::DoTakeDamage(TakeDamageInfo & a_TDI) if ((a_TDI.Attacker != NULL) && (a_TDI.Attacker->IsPlayer())) { - // IsOnGround() only is true if the player is moving downwards + // IsOnGround() only is false if the player is moving downwards if (!((cPlayer *)a_TDI.Attacker)->IsOnGround()) // TODO: Better damage increase, and check for enchantments (and use magic critical instead of plain) { a_TDI.FinalDamage + 2; |