Files
OpenRA/OpenRA.Mods.Common/Traits/Health.cs
reaperrr e2a6b55d44 Move up Undamaged check in DamageState
A mere int comparison is obviously cheaper than
a comparison between two multiplications,
so pulling this above the checks of other damage states
allows us to bail early for undamaged actors.
2021-03-21 17:37:42 +01:00

7.5 KiB