Fix stair snapping broken since FallAndSink override.
This commit is contained in:
parent
df3e43c935
commit
085f3e9685
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r507 \cu(Sun 25 Sep 14:02:53 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r507 \cu(2022-09-25 14:02:53)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r508 \cu(Sun 25 Sep 17:55:22 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r508 \cu(2022-09-25 17:55:22)\c-";
|
||||
|
|
|
|||
|
|
@ -2192,7 +2192,7 @@ Class Demolitionist : PlayerPawn
|
|||
guidepitch *= .9;
|
||||
guideroll *= .9;
|
||||
// anchor to ground when going down steps
|
||||
if ( lastground && !player.onground && !bFly && !bFlyCheat && (abs(pos.z-floorz) <= maxdropoffheight) && (player.jumptics == 0) && (vel.z < 0) && !isdashing )
|
||||
if ( lastground && !player.onground && !bFly && !bFlyCheat && (abs(pos.z-floorz) <= maxdropoffheight) && (player.jumptics == 0) && (vel.z <= 0) && !isdashing )
|
||||
{
|
||||
// test for gap crossing (i.e: climbing up platforms with holes between them)
|
||||
Vector3 storepos = pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue