End of comment moved away from new line
This commit is contained in:
parent
0f631febfc
commit
be03b84048
@ -881,8 +881,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).
|
||||
The minecart moves along the line z = -x, the perpendicular line to this is z = x.
|
||||
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.
|
||||
*/
|
||||
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 (
|
||||
((Distance.z > 0) && ((Distance.x / Distance.z) >= 1)) ||
|
||||
((Distance.z < 0) && ((Distance.x / Distance.z) <= 1))
|
||||
|
Loading…
Reference in New Issue
Block a user