Replace capsule angle checks with arg1 checks

This commit is contained in:
spherallic 2023-09-23 15:21:44 +02:00
parent 1c4419ee56
commit 8d14a08cdc
2 changed files with 2 additions and 2 deletions

View file

@ -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!
}
}

View file

@ -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);