Fix collisions of animated plants
parent
c50b36118e
commit
6a23e97533
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue