From fed7dce7015b348c65d1c57ff26e387c6118dd6c Mon Sep 17 00:00:00 2001 From: cryham Date: Fri, 5 Apr 2024 23:41:32 +0200 Subject: [PATCH] hovercraft // does not go underwater --- src/vdrift/cardynamics_update.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vdrift/cardynamics_update.cpp b/src/vdrift/cardynamics_update.cpp index 6b97e0a4..8a423a53 100644 --- a/src/vdrift/cardynamics_update.cpp +++ b/src/vdrift/cardynamics_update.cpp @@ -589,7 +589,8 @@ void CARDYNAMICS::UpdateWheelContacts() // 🎯 wheel cast ray world->CastRay( raystart, raydir, raylen, chassis, wheelContact, this,i, - !pSet->game.collis_cars, false ); + !pSet->game.collis_cars, + vtype == V_Hovercraft ); // does not go underwater } }