mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 19:02:45 +00:00
Handled some of MI's concerns.
This commit is contained in:
parent
caeb515783
commit
d5575669fa
2 changed files with 9 additions and 6 deletions
|
@ -2541,6 +2541,9 @@ boolean P_CheckDeathPitCollide(mobj_t *mo)
|
|||
I_Assert(mo != NULL);
|
||||
I_Assert(!P_MobjWasRemoved(mo));
|
||||
|
||||
if (mo->player && mo->player->pflags & PF_GODMODE)
|
||||
return false;
|
||||
|
||||
if (((mo->z <= mo->subsector->sector->floorheight
|
||||
&& !(mo->eflags & MFE_VERTICALFLIP) && (mo->subsector->sector->flags & SF_FLIPSPECIAL_FLOOR))
|
||||
|| (mo->z + mo->height >= mo->subsector->sector->ceilingheight
|
||||
|
|
|
@ -1490,25 +1490,25 @@ static inline void ST_drawRaceHUD(void)
|
|||
{
|
||||
INT32 height = (BASEVIDHEIGHT/2);
|
||||
INT32 bounce = (leveltime % TICRATE);
|
||||
patch_t **racenum;
|
||||
patch_t *racenum;
|
||||
switch (leveltime/TICRATE)
|
||||
{
|
||||
case 1:
|
||||
racenum = &race3;
|
||||
racenum = race3;
|
||||
break;
|
||||
case 2:
|
||||
racenum = &race2;
|
||||
racenum = race2;
|
||||
break;
|
||||
case 3:
|
||||
racenum = &race1;
|
||||
racenum = race1;
|
||||
break;
|
||||
default:
|
||||
racenum = &racego;
|
||||
racenum = racego;
|
||||
break;
|
||||
}
|
||||
if (bounce < 3)
|
||||
height -= (2 - bounce);
|
||||
V_DrawScaledPatch(SCX((BASEVIDWIDTH - SHORT((*racenum)->width))/2), (INT32)(SCY(height)), V_NOSCALESTART, *racenum);
|
||||
V_DrawScaledPatch(SCX((BASEVIDWIDTH - SHORT(racenum->width))/2), (INT32)(SCY(height)), V_NOSCALESTART, racenum);
|
||||
}
|
||||
|
||||
if (circuitmap)
|
||||
|
|
Loading…
Reference in a new issue