mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
Lower flame damage if using accurate clipmove
The eduke clipmove will cause a higher hit %, lower all flame damage from 8->3 to compensate with overall higher sprite hit result
This commit is contained in:
parent
f0627fa6c2
commit
6d4a3243b7
1 changed files with 5 additions and 1 deletions
|
@ -4078,7 +4078,11 @@ static void actImpactMissile(DBloodActor* missileActor, int hitCode)
|
|||
evPost(actorHit, 0, kCallbackFXFlameLick);
|
||||
|
||||
actBurnSprite(missileOwner, actorHit, (4 + gGameOptions.nDifficulty) << 2);
|
||||
actDamageSprite(missileOwner, actorHit, kDamageBurn, 8);
|
||||
const bool reduceSprayDamage = !cl_bloodvanillaexplosions && !VanillaMode() && !DemoRecordStatus();
|
||||
int nDamage = 8;
|
||||
if (reduceSprayDamage) // reduce flame damage if using improved clipmove mode (higher hit rate)
|
||||
nDamage = 3;
|
||||
actDamageSprite(missileOwner, actorHit, kDamageBurn, nDamage);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue