mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'pogo-fuse' into 'master'
Add fuse to Pogo Spring See merge request KartKrew/Kart!942
This commit is contained in:
commit
1f968d51c5
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;
|
object->momz = 3 * object->momz / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!spring->fuse)
|
||||||
|
{
|
||||||
|
spring->fuse = 15*TICRATE;
|
||||||
|
}
|
||||||
|
|
||||||
spring->reactiontime++;
|
spring->reactiontime++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9632,6 +9632,7 @@ static boolean P_CanFlickerFuse(mobj_t *mobj)
|
||||||
case MT_EGGMANITEM:
|
case MT_EGGMANITEM:
|
||||||
case MT_FALLINGROCK:
|
case MT_FALLINGROCK:
|
||||||
case MT_FLOATINGITEM:
|
case MT_FLOATINGITEM:
|
||||||
|
case MT_POGOSPRING:
|
||||||
if (mobj->fuse <= TICRATE)
|
if (mobj->fuse <= TICRATE)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue