mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
UDMF upscaled springs: Treat as an increased hitbox only, not as a strength multiplier
This commit is contained in:
parent
050fa56d64
commit
f9e11be98a
1 changed files with 1 additions and 2 deletions
|
|
@ -355,7 +355,6 @@ P_DoSpringEx
|
|||
//
|
||||
boolean P_DoSpring(mobj_t *spring, mobj_t *object)
|
||||
{
|
||||
const fixed_t scaleVal = FixedSqrt(FixedMul(mapobjectscale, spring->scale));
|
||||
fixed_t vertispeed = spring->info->mass;
|
||||
fixed_t horizspeed = spring->info->damage;
|
||||
UINT16 starcolor = (spring->info->painchance % numskincolors);
|
||||
|
|
@ -428,7 +427,7 @@ boolean P_DoSpring(mobj_t *spring, mobj_t *object)
|
|||
object->momx = savemomx;
|
||||
object->momy = savemomy;
|
||||
|
||||
P_DoSpringEx(object, scaleVal, vertispeed, horizspeed,
|
||||
P_DoSpringEx(object, mapobjectscale, vertispeed, horizspeed,
|
||||
spring->angle, starcolor);
|
||||
|
||||
// Re-solidify
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue