From 8d14a08cdc233872f43708e003aea50ab13860dd Mon Sep 17 00:00:00 2001 From: spherallic Date: Sat, 23 Sep 2023 15:21:44 +0200 Subject: [PATCH] Replace capsule angle checks with arg1 checks --- src/p_user.c | 2 +- src/st_stuff.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index 5730d476d..57f998d55 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -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! } } diff --git a/src/st_stuff.c b/src/st_stuff.c index de19c468f..b2e98fcf9 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -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);