Skip to content

Fix collision damage being extremely low#6878

Merged
wookieejedi merged 1 commit into
scp-fs2open:masterfrom
Kestrellius:fix-collision-damage
Jul 29, 2025
Merged

Fix collision damage being extremely low#6878
wookieejedi merged 1 commit into
scp-fs2open:masterfrom
Kestrellius:fix-collision-damage

Conversation

@Kestrellius

Copy link
Copy Markdown
Contributor

A tiny copy-paste error in #6814 led to the damage applied to the lighter ship in a collision being divided by the heavier ship's mass, not the lighter ship's as was the previous behavior. This meant that when a fighter collided with a capital ship, it would never take more than a tiny fraction of a point of damage. Upon fixing this, collision damage behaves as expected.

@wookieejedi wookieejedi added the fix A fix for bugs, not-a-bugs, and/or regressions. label Jul 29, 2025
@wookieejedi wookieejedi merged commit 3e77e13 into scp-fs2open:master Jul 29, 2025
20 checks passed
@Kestrellius Kestrellius deleted the fix-collision-damage branch July 30, 2025 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants