mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add fuse to Pogo Spring
15 seconds, flickers for the last second.
This commit is contained in:
parent
69f567d09d
commit
5cce81f4cd
2 changed files with 6 additions and 0 deletions
|
|
@ -465,6 +465,11 @@ boolean P_DoSpring(mobj_t *spring, mobj_t *object)
|
|||
object->momz = 3 * object->momz / 2;
|
||||
}
|
||||
|
||||
if (!spring->fuse)
|
||||
{
|
||||
spring->fuse = 15*TICRATE;
|
||||
}
|
||||
|
||||
spring->reactiontime++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9632,6 +9632,7 @@ static boolean P_CanFlickerFuse(mobj_t *mobj)
|
|||
case MT_EGGMANITEM:
|
||||
case MT_FALLINGROCK:
|
||||
case MT_FLOATINGITEM:
|
||||
case MT_POGOSPRING:
|
||||
if (mobj->fuse <= TICRATE)
|
||||
{
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue