some Radar and Hud cleanup; fix in Physical

This commit is contained in:
aap
2019-06-23 13:11:41 +02:00
parent 047fa20f28
commit a5ba538968
9 changed files with 177 additions and 165 deletions

View File

@ -1504,7 +1504,7 @@ CPhysical::ProcessCollisionSectorList(CPtrList *lists)
else if(A->GetUp().z > 0.3f)
adhesion = 0.0f;
else
adhesion *= max(5.0f, 0.03f*impulseA + 1.0f);
adhesion *= min(5.0f, 0.03f*impulseA + 1.0f);
}
if(A->ApplyFriction(adhesion, aColPoints[i]))