mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-30 22:50:51 +00:00
Replace capsule angle checks with arg1 checks
This commit is contained in:
parent
1c4419ee56
commit
8d14a08cdc
2 changed files with 2 additions and 2 deletions
|
@ -12328,7 +12328,7 @@ void P_PlayerThink(player_t *player)
|
|||
player->texttimer = 4*TICRATE;
|
||||
player->textvar = 2; // GET n RINGS!
|
||||
|
||||
if (player->capsule && player->capsule->health != player->capsule->spawnpoint->angle)
|
||||
if (player->capsule && player->capsule->health != player->capsule->spawnpoint->args[1])
|
||||
player->textvar++; // GET n MORE RINGS!
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1925,7 +1925,7 @@ static void ST_drawNiGHTSHUD(void)
|
|||
INT32 amount;
|
||||
const INT32 length = 88;
|
||||
|
||||
origamount = stplyr->capsule->spawnpoint->angle;
|
||||
origamount = stplyr->capsule->spawnpoint->args[1];
|
||||
I_Assert(origamount > 0); // should not happen now
|
||||
|
||||
ST_DrawTopLeftOverlayPatch(72, 8, nbracket);
|
||||
|
|
Loading…
Reference in a new issue