2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-07 11:25:52 +00:00

CDamageVulnerability: Fix inverted conditional

This commit is contained in:
Phillip Stephens 2022-03-30 23:41:37 -07:00
parent a994907dd4
commit 8ac39d1712
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D

View File

@ -220,7 +220,7 @@ bool CDamageVulnerability::WeaponHits(const CWeaponMode& mode, bool checkDirect)
}
if (!chargedHits || !mode.IsCharged()) {
if (comboedHits) {
if (!comboedHits) {
return false;
}
if (!mode.IsComboed()) {