mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
During Overtime: point Servant Hand to Battle Kiosk, stop pointing to UFOs
This commit is contained in:
parent
f8131cbd4e
commit
313d2f8fd2
2 changed files with 11 additions and 1 deletions
|
|
@ -673,6 +673,13 @@ void K_RunBattleOvertime(void)
|
||||||
|
|
||||||
if (battleovertime.radius < minradius)
|
if (battleovertime.radius < minradius)
|
||||||
battleovertime.radius = minradius;
|
battleovertime.radius = minradius;
|
||||||
|
|
||||||
|
// Subtract the 10 second grace period of the barrier
|
||||||
|
if (battleovertime.enabled < 25*TICRATE)
|
||||||
|
{
|
||||||
|
battleovertime.enabled++;
|
||||||
|
Obj_PointPlayersToXY(battleovertime.x, battleovertime.y);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (battleovertime.radius > 0)
|
if (battleovertime.radius > 0)
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,10 @@ void Obj_BattleUFOThink(mobj_t *mobj)
|
||||||
ufo->spawn_beam();
|
ufo->spawn_beam();
|
||||||
}
|
}
|
||||||
|
|
||||||
Obj_PointPlayersToXY(mobj->x, mobj->y);
|
if (!battleovertime.enabled)
|
||||||
|
{
|
||||||
|
Obj_PointPlayersToXY(mobj->x, mobj->y);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Obj_BattleUFODeath(mobj_t *mobj)
|
void Obj_BattleUFODeath(mobj_t *mobj)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue