mirror of
https://github.com/izzy2lost/Ghostship.git
synced 2026-06-19 01:17:03 -07:00
Untied mario health of debug selector
This commit is contained in:
+1
-1
@@ -1449,7 +1449,7 @@ void update_mario_health(struct MarioState *m) {
|
||||
// When already healing or hurting Mario, Mario's HP is not changed any more here.
|
||||
if (((u32) m->healCounter | (u32) m->hurtCounter) == 0) {
|
||||
if ((m->input & INPUT_IN_POISON_GAS) && !(m->action & ACT_FLAG_INTANGIBLE)) {
|
||||
if (!(m->flags & MARIO_METAL_CAP) && !gDebugLevelSelect) {
|
||||
if (!(m->flags & MARIO_METAL_CAP) /* && !gDebugLevelSelect */) {
|
||||
s32 amount = -4;
|
||||
CALL_CANCELLABLE_EVENT(PlayerHealthChange, m, amount) {
|
||||
m->health += amount;
|
||||
|
||||
Reference in New Issue
Block a user