better syntax

pp
This commit is contained in:
eebrozgi 2025-06-27 21:46:49 +03:00
parent 1286579457
commit 0b041703ed

View file

@ -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: