mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-11 03:12:09 +00:00
Tie Battle fuse for item drops and Emeralds to GTR_CLOSERPLAYERS instead of GTR_BUMPERS
This commit is contained in:
parent
04bc0b6b9d
commit
28c9c3cc7d
2 changed files with 2 additions and 2 deletions
|
|
@ -247,7 +247,7 @@ mobj_t *K_SpawnChaosEmerald(fixed_t x, fixed_t y, fixed_t z, angle_t angle, SINT
|
||||||
P_SetMobjState(overlay, S_CHAOSEMERALD_UNDER);
|
P_SetMobjState(overlay, S_CHAOSEMERALD_UNDER);
|
||||||
overlay->color = emerald->color;
|
overlay->color = emerald->color;
|
||||||
|
|
||||||
if (gametyperules & GTR_BUMPERS)
|
if (gametyperules & GTR_CLOSERPLAYERS)
|
||||||
{
|
{
|
||||||
emerald->fuse = BATTLE_DESPAWN_TIME;
|
emerald->fuse = BATTLE_DESPAWN_TIME;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6448,7 +6448,7 @@ mobj_t *K_CreatePaperItem(fixed_t x, fixed_t y, fixed_t z, angle_t angle, SINT8
|
||||||
P_SetTarget(&backdrop->tracer, drop);
|
P_SetTarget(&backdrop->tracer, drop);
|
||||||
backdrop->flags2 |= MF2_LINKDRAW;
|
backdrop->flags2 |= MF2_LINKDRAW;
|
||||||
|
|
||||||
if (gametyperules & GTR_BUMPERS)
|
if (gametyperules & GTR_CLOSERPLAYERS)
|
||||||
{
|
{
|
||||||
drop->fuse = BATTLE_DESPAWN_TIME;
|
drop->fuse = BATTLE_DESPAWN_TIME;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue