Update mario.c

Forever Cap timeout
This commit is contained in:
Martin Pham 2020-08-02 15:37:34 +02:00 committed by GitHub
parent 372e71bf36
commit 708c3f86c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1610,7 +1610,7 @@ u32 update_and_return_cap_flags(struct MarioState *m) {
if ((m->capTimer <= 60)
|| ((action != ACT_READING_AUTOMATIC_DIALOG) && (action != ACT_READING_NPC_DIALOG)
&& (action != ACT_READING_SIGN) && (action != ACT_IN_CANNON))) {
m->capTimer -= 1;
if (Cheats.EnableCheats && Cheats.ForeverCap) { m->capTimer -= 0; } else { m->capTimer -= 1; }
}
if (m->capTimer == 0) {