mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 12:13:16 +00:00
Battle UFO: slow down horizontal player momentum in tractor beam
This commit is contained in:
parent
cd405290c1
commit
fe60216559
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue