Restore QPA glitched damage (#1789)

This commit is contained in:
RaelCappra 2022-11-07 05:02:42 -03:00 committed by GitHub
parent 328ff0e8c4
commit 8d57ef4bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -3597,7 +3597,12 @@ void func_80837948(PlayState* play, Player* this, s32 arg2) {
}
if ((arg2 >= 16) && (arg2 < 20)) {
flags = D_80854488[temp][1];
if (CVar_GetS32("gRestoreQPA", 1) && temp == -1) {
flags = 0x16171617;
}
else {
flags = D_80854488[temp][1];
}
} else {
flags = D_80854488[temp][0];
}