diff options
author | Mattes D <github@xoft.cz> | 2015-05-09 13:22:59 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-09 13:22:59 +0200 |
commit | ca949447eefe74804e677fff5a46a1f18a826901 (patch) | |
tree | 911736baccf3617a13f6b7e04ebbfe3fe035fb50 /src/Entities/Minecart.cpp | |
parent | Rabbit and cooked rabbit now stackable (diff) | |
parent | Added check against "Type const &" and "Type const *". (diff) | |
download | cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.gz cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.bz2 cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.lz cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.xz cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.zst cuberite-ca949447eefe74804e677fff5a46a1f18a826901.zip |
Diffstat (limited to 'src/Entities/Minecart.cpp')
-rw-r--r-- | src/Entities/Minecart.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp index 3d56570ba..b80759d24 100644 --- a/src/Entities/Minecart.cpp +++ b/src/Entities/Minecart.cpp @@ -905,7 +905,7 @@ bool cMinecart::TestEntityCollision(NIBBLETYPE a_RailMeta) } /* Check to which side the minecart is to be pushed. - Let's consider a z-x-coordinate system where the minecart is the center (0/0). + Let's consider a z-x-coordinate system where the minecart is the center (0, 0). The minecart moves along the line x = -z, the perpendicular line to this is x = z. In order to decide to which side the minecart is to be pushed, it must be checked on what side of the perpendicular line the pushing entity is located. */ if ( @@ -954,7 +954,7 @@ bool cMinecart::TestEntityCollision(NIBBLETYPE a_RailMeta) } /* Check to which side the minecart is to be pushed. - Let's consider a z-x-coordinate system where the minecart is the center (0/0). + Let's consider a z-x-coordinate system where the minecart is the center (0, 0). The minecart moves along the line x = z, the perpendicular line to this is x = -z. In order to decide to which side the minecart is to be pushed, it must be checked on what side of the perpendicular line the pushing entity is located. */ if ( |