mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-13 21:20:33 +00:00
VC vehicles just barely working now
This commit is contained in:
parent
a8d8c0690d
commit
05a1d64fbb
28 changed files with 444 additions and 259 deletions
|
@ -1528,7 +1528,8 @@ CPhysical::ProcessCollisionSectorList(CPtrList *lists)
|
|||
|
||||
if(A->GetModelIndex() == MI_RCBANDIT)
|
||||
adhesion *= 0.2f;
|
||||
else if(IsBoatModel(A->GetModelIndex())){
|
||||
// TODO(MIAMI): check this
|
||||
else if(A->IsVehicle() && ((CVehicle*)A)->IsBoat()){
|
||||
if(aColPoints[i].normal.z > 0.6f){
|
||||
if(CSurfaceTable::GetAdhesionGroup(aColPoints[i].surfaceB) == ADHESIVE_LOOSE)
|
||||
adhesion *= 3.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue