Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ void UndeadBody::attemptDamage( DamageInfo *damageInfo )

if( damageInfo->in.m_damageType != DAMAGE_UNRESISTABLE
&& !m_isSecondLife
#if RETAIL_COMPATIBLE_CRC
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think better use RETAIL_COMPATIBLE_BUG here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As in this is a desirable bug to be kept? If some players strangely desire this behaviour, they can surely just tweak the Battle Bus's HAZARD_CLEANUP damage modifier to deal damage.

Armor BattleBusTruckArmor
+  Armor = HAZARD_CLEANUP      50%    ;Now consistently harmed by cleaning weapons
-  Armor = HAZARD_CLEANUP       0%    ;Not harmed by cleaning weapons
End

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

&& damageInfo->in.m_amount >= getHealth()
#else
// TheSuperHackers @bugfix Stubbjax 20/09/2025 Battle Buses now correctly apply damage modifiers when calculating lethal damage
&& estimateDamage(damageInfo->in) >= getHealth()
#endif
&& IsHealthDamagingDamage(damageInfo->in.m_damageType)
)
{
Expand Down
Loading