mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 12:40:58 +00:00
Two seperate single-line fixes, both concerning the end of NiGHTS maps.
* The NiGHTS drone had a single tic of visibility when you hit the goal, which is evident stepping frame by frame through http://gfycat.com/ComplicatedComposedAoudad (the contents of which may or may not make it into 2.2). * When completing a NiGHTS stage with a non-zero link, the link could flash up in the final few tics before the fade to black. This just checks for player->exiting to make sure it shouldn't be shown.
This commit is contained in:
parent
fb8de61a81
commit
7795e146fa
2 changed files with 3 additions and 2 deletions
|
@ -6931,6 +6931,7 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
{
|
||||
mobj->flags &= ~MF_NOGRAVITY;
|
||||
P_SetMobjState(mobj, S_NIGHTSDRONE1);
|
||||
mobj->flags2 |= MF2_DONTDRAW;
|
||||
}
|
||||
}
|
||||
else if (mobj->tracer && mobj->tracer->player)
|
||||
|
|
|
@ -974,8 +974,8 @@ static void ST_drawNiGHTSHUD(void)
|
|||
if (cv_debug & DBG_NIGHTSBASIC)
|
||||
minlink = 0;
|
||||
|
||||
// Cheap hack: don't display when the score is showing
|
||||
if (stplyr->texttimer && stplyr->textvar == 4)
|
||||
// Cheap hack: don't display when the score is showing or you're exiting a map
|
||||
if ((stplyr->exiting) || (stplyr->texttimer && stplyr->textvar == 4))
|
||||
minlink = INT32_MAX;
|
||||
|
||||
if (G_IsSpecialStage(gamemap))
|
||||
|
|
Loading…
Reference in a new issue