summaryrefslogtreecommitdiffstats
path: root/src/entities/Physical.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-26 11:37:46 +0200
committeraap <aap@papnet.eu>2020-05-26 11:37:46 +0200
commit7e5dde1f1a6ffbba98572b7fad3a51538104c04b (patch)
tree687c7fae6b53d4594b39f7c80a8f8fef929288c7 /src/entities/Physical.cpp
parentfixed NE bug (diff)
downloadre3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar
re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.gz
re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.bz2
re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.lz
re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.xz
re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.zst
re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Physical.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp
index f9f8ae7e..9fc5a853 100644
--- a/src/entities/Physical.cpp
+++ b/src/entities/Physical.cpp
@@ -1018,7 +1018,7 @@ CPhysical::ApplyFriction(float adhesiveLimit, CColPoint &colpoint)
ApplyFrictionTurnForce(frictionDir*fImpulse, pointpos);
if(fOtherSpeed > 0.1f &&
- colpoint.surfaceB != SURFACE_GRASS && colpoint.surfaceB != SURFACE_DIRTTRACK &&
+ colpoint.surfaceB != SURFACE_GRASS && colpoint.surfaceB != SURFACE_MUD_DRY &&
CSurfaceTable::GetAdhesionGroup(colpoint.surfaceA) == ADHESIVE_HARD){
CVector v = frictionDir * fOtherSpeed * 0.25f;
for(int i = 0; i < 4; i++)