mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 18:21:10 +00:00
Fix Mario block triggering during ghost fade
This commit is contained in:
parent
4147773d0c
commit
66dc84509a
1 changed files with 8 additions and 0 deletions
|
@ -7485,6 +7485,8 @@ static boolean P_FadeFakeFloor(ffloor_t *rover, INT16 destvalue, INT16 speed,
|
|||
rover->flags &= ~FF_QUICKSAND;
|
||||
if (rover->spawnflags & FF_BUSTUP)
|
||||
rover->flags &= ~FF_BUSTUP;
|
||||
if (rover->spawnflags & FF_MARIO)
|
||||
rover->flags &= ~FF_MARIO;
|
||||
}
|
||||
}
|
||||
else // continue fading out
|
||||
|
@ -7510,6 +7512,8 @@ static boolean P_FadeFakeFloor(ffloor_t *rover, INT16 destvalue, INT16 speed,
|
|||
rover->flags |= FF_QUICKSAND;
|
||||
if (rover->spawnflags & FF_BUSTUP)
|
||||
rover->flags |= FF_BUSTUP;
|
||||
if (rover->spawnflags & FF_MARIO)
|
||||
rover->flags |= FF_MARIO;
|
||||
}
|
||||
}
|
||||
else // continue fading in
|
||||
|
@ -7567,6 +7571,8 @@ static boolean P_FadeFakeFloor(ffloor_t *rover, INT16 destvalue, INT16 speed,
|
|||
rover->flags &= ~FF_QUICKSAND;
|
||||
if (rover->spawnflags & FF_BUSTUP)
|
||||
rover->flags &= ~FF_BUSTUP;
|
||||
if (rover->spawnflags & FF_MARIO)
|
||||
rover->flags &= ~FF_MARIO;
|
||||
}
|
||||
else // keep collision during fade
|
||||
{
|
||||
|
@ -7578,6 +7584,8 @@ static boolean P_FadeFakeFloor(ffloor_t *rover, INT16 destvalue, INT16 speed,
|
|||
rover->flags |= FF_QUICKSAND;
|
||||
if (rover->spawnflags & FF_BUSTUP)
|
||||
rover->flags |= FF_BUSTUP;
|
||||
if (rover->spawnflags & FF_MARIO)
|
||||
rover->flags |= FF_MARIO;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue