mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 05:41:02 +00:00
Diagonal ring springs should now be able to face any angle
This commit is contained in:
parent
9d5718760d
commit
ccb0abb853
1 changed files with 1 additions and 1 deletions
|
@ -9696,7 +9696,7 @@ void P_SpawnHoopsAndRings(mapthing_t *mthing)
|
||||||
// Diagonal rings (handles both types)
|
// Diagonal rings (handles both types)
|
||||||
else if (mthing->type == 602 || mthing->type == 603) // Diagonal rings (5)
|
else if (mthing->type == 602 || mthing->type == 603) // Diagonal rings (5)
|
||||||
{
|
{
|
||||||
angle_t angle = ANGLE_45 * (mthing->angle/45);
|
angle_t angle = FixedAngle(mthing->angle*FRACUNIT);
|
||||||
mobjtype_t ringthing = MT_RING;
|
mobjtype_t ringthing = MT_RING;
|
||||||
INT32 iterations = 5;
|
INT32 iterations = 5;
|
||||||
if (mthing->type == 603)
|
if (mthing->type == 603)
|
||||||
|
|
Loading…
Reference in a new issue