diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Minecart.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp index 5fc67db5a..c4636c5b1 100644 --- a/src/Entities/Minecart.cpp +++ b/src/Entities/Minecart.cpp @@ -106,8 +106,6 @@ cMinecart::cMinecart(ePayload a_Payload, Vector3d a_Pos): SetAirDrag(0.05f); SetMaxHealth(6); SetHealth(6); - SetWidth(1); - SetHeight(0.9); } @@ -1274,10 +1272,10 @@ void cMinecart::ApplyAcceleration(Vector3d a_ForwardDirection, double a_Accelera //////////////////////////////////////////////////////////////////////////////// // cRideableMinecart: -cRideableMinecart::cRideableMinecart(Vector3d a_Pos, const cItem & a_Content, int a_Height): +cRideableMinecart::cRideableMinecart(Vector3d a_Pos, const cItem & a_Content, int a_ContentHeight): Super(mpNone, a_Pos), m_Content(a_Content), - m_Height(a_Height) + m_ContentHeight(a_ContentHeight) { } |