summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-28 16:04:26 +0200
committerMattes D <github@xoft.cz>2014-08-28 16:04:26 +0200
commit1c136a60478811dabfb54e89a27fb1229d0d1b49 (patch)
treecfb2c438093df21a6e72d233b7feb30812a95f37 /src/Entities/Minecart.cpp
parentMerge pull request #1324 from ChriPiv/master (diff)
downloadcuberite-1c136a60478811dabfb54e89a27fb1229d0d1b49.tar
cuberite-1c136a60478811dabfb54e89a27fb1229d0d1b49.tar.gz
cuberite-1c136a60478811dabfb54e89a27fb1229d0d1b49.tar.bz2
cuberite-1c136a60478811dabfb54e89a27fb1229d0d1b49.tar.lz
cuberite-1c136a60478811dabfb54e89a27fb1229d0d1b49.tar.xz
cuberite-1c136a60478811dabfb54e89a27fb1229d0d1b49.tar.zst
cuberite-1c136a60478811dabfb54e89a27fb1229d0d1b49.zip
Diffstat (limited to 'src/Entities/Minecart.cpp')
-rw-r--r--src/Entities/Minecart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp
index f43c4d163..21c58fdba 100644
--- a/src/Entities/Minecart.cpp
+++ b/src/Entities/Minecart.cpp
@@ -906,7 +906,7 @@ bool cMinecart::TestEntityCollision(NIBBLETYPE a_RailMeta)
}
else if ((GetSpeedX() * 0.4 / sqrt(2)) < 0.01)
{
- // Moving +X -T
+ // Moving +X -Z
// ~ SpeedX <= 0 Immobile or not moving in the "right" direction
AddSpeedX(4 / sqrt(2));
AddSpeedZ(-4 / sqrt(2));