From f96903c661a1e0218a73bc5828c23f7f1d875968 Mon Sep 17 00:00:00 2001 From: Marvin Kopf Date: Tue, 16 Feb 2016 17:02:05 +0100 Subject: Fix minecart entity collision * Minecarts no longer handle a collision if the entity is behind them. * Minecarts will leave the pushing after a collision on a straight rail to the entity. --- src/Entities/Minecart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/Minecart.h') diff --git a/src/Entities/Minecart.h b/src/Entities/Minecart.h index e48df8fda..c4b1d7f6d 100644 --- a/src/Entities/Minecart.h +++ b/src/Entities/Minecart.h @@ -75,7 +75,7 @@ protected: void SnapToRail(NIBBLETYPE a_RailMeta); /** Tests if a solid block is in front of a cart, and stops the cart (and returns true) if so; returns false if no obstruction */ bool TestBlockCollision(NIBBLETYPE a_RailMeta); - /** Tests if this mincecart's bounding box is intersecting another entity's bounding box (collision) and pushes mincecart away */ + /** Tests if this mincecart's bounding box is intersecting another entity's bounding box (collision) and pushes mincecart away if necessary */ bool TestEntityCollision(NIBBLETYPE a_RailMeta); } ; -- cgit v1.2.3