Skip to content

Commit

Permalink
hovercraft // does not go underwater
Browse files Browse the repository at this point in the history
  • Loading branch information
cryham committed Apr 5, 2024
1 parent 7e1ea6d commit fed7dce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vdrift/cardynamics_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit fed7dce

Please sign in to comment.