[XCX] Fix bug with XCX damage multiplication pack (#680)

It no longer ignores user preferences and only applies the divide damage mod when selected as such.
Thanks to @intra0 for this change (and his patience)!
This commit is contained in:
Intra 2025-02-05 11:15:42 -06:00 committed by GitHub
parent 16105d20b2
commit 8d35d97795
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,8 +8,9 @@ divw r4, r31, r4
blr
_mult_or_divide:
cmpwi r0, $multOrDivision
bne- _divide_dmg
li r4, $multOrDivision
cmpwi r4, 0
bne _divide_dmg
mulli r4, r31, $mult
blr