Battle UFO: slow down horizontal player momentum in tractor beam

This commit is contained in:
James R 2024-01-05 17:44:58 -08:00
parent cd405290c1
commit fe60216559

View file

@ -786,6 +786,9 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
}
P_SetObjectMomZ(tm.thing, FRACUNIT, true);
fixed_t friction = 33*FRACUNIT/35;
tm.thing->momx = FixedMul(tm.thing->momx, friction);
tm.thing->momy = FixedMul(tm.thing->momy, friction);
return BMIT_CONTINUE;
}