From 6a23e97533de23d4574b9e5e742b590dafdbf395 Mon Sep 17 00:00:00 2001 From: Fiftytwo Date: Wed, 8 Jul 2020 14:17:08 +0200 Subject: [PATCH] Fix collisions of animated plants --- src/object/old_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/old_object.cpp b/src/object/old_object.cpp index c11247d2..0e8fb670 100644 --- a/src/object/old_object.cpp +++ b/src/object/old_object.cpp @@ -1274,7 +1274,7 @@ int COldObject::SearchDescendant(int parent, int n) void COldObject::TransformCrashSphere(Math::Sphere& crashSphere) { - crashSphere.radius *= GetScaleX(); + if(!Implements(ObjectInterfaceType::Jostleable)) crashSphere.radius *= GetScaleX(); // Returns to the sphere collisions, // which ignores the tilt of the vehicle.