diff options
author | aap <aap@papnet.eu> | 2020-05-07 11:33:20 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-07 11:33:20 +0200 |
commit | 05a1d64fbbe374dabb6572bb47d9a745464633bb (patch) | |
tree | e56b03fbb2c768324a4b540645eac2dc8c5bdf08 /src/entities | |
parent | changed default ID ranges. old default.ide incompatible now (diff) | |
download | re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.gz re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.bz2 re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.lz re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.xz re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.zst re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/entities/Physical.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp index 987cc293..c5c34e1e 100644 --- a/src/entities/Physical.cpp +++ b/src/entities/Physical.cpp @@ -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; |