mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-27 07:51:36 +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
|
||||
if (grandprixinfo.gp && grandprixinfo.specialDamage)
|
||||
if (grandprixinfo.masterbots == false)
|
||||
// (...Except if you're on Master difficulty!)
|
||||
if (grandprixinfo.gp && grandprixinfo.specialDamage && grandprixinfo.masterbots == false)
|
||||
{
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue