mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
better syntax
pp
This commit is contained in:
parent
1286579457
commit
0b041703ed
1 changed files with 2 additions and 2 deletions
|
|
@ -1284,8 +1284,8 @@ static mobj_t *InitSpecialUFO(waypoint_t *start)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set specialDamage as early as possible, for glass ball's sake
|
// Set specialDamage as early as possible, for glass ball's sake
|
||||||
if (grandprixinfo.gp && grandprixinfo.specialDamage)
|
// (...Except if you're on Master difficulty!)
|
||||||
if (grandprixinfo.masterbots == false)
|
if (grandprixinfo.gp && grandprixinfo.specialDamage && grandprixinfo.masterbots == false)
|
||||||
{
|
{
|
||||||
ufo->health -= min(2*(UINT32)mobjinfo[MT_SPECIAL_UFO].spawnhealth/10, grandprixinfo.specialDamage/12);
|
ufo->health -= min(2*(UINT32)mobjinfo[MT_SPECIAL_UFO].spawnhealth/10, grandprixinfo.specialDamage/12);
|
||||||
// Use this if you want to spy on what the health ends up being:
|
// Use this if you want to spy on what the health ends up being:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue