2
0
Эх сурвалжийг харах

Merge pull request #1542 from Azaezel/alpha41/stabbyStabilizers

hovervehicle stabilizer fix for groundplane (and other things)
Brian Roberts 2 долоо хоног өмнө
parent
commit
9b266cc6bd

+ 1 - 2
Engine/source/T3D/vehicles/hoverVehicle.cpp

@@ -725,8 +725,7 @@ void HoverVehicle::updateForces(F32 /*dt*/)
 
 
    for (j = 0; j < 2; j++) {
    for (j = 0; j < 2; j++) {
       if (getContainer()->castRay(stabPoints[j].wsPoint, stabPoints[j].wsPoint + stabPoints[j].wsExtension * 2.0,
       if (getContainer()->castRay(stabPoints[j].wsPoint, stabPoints[j].wsPoint + stabPoints[j].wsExtension * 2.0,
-                                  TerrainObjectType | 
-                                  WaterObjectType, &rinfo)) 
+         sCollisionMoveMask, &rinfo))
       {
       {
          reallyFloating = false;
          reallyFloating = false;