mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Oh, this is why. pw_pushing was decremented twice each tic, because I copypasted it and then forgot to adjust it to say pw_noautobrake...
This commit is contained in:
parent
17dde0d91c
commit
d9196485f6
1 changed files with 0 additions and 3 deletions
|
@ -11711,9 +11711,6 @@ void P_PlayerThink(player_t *player)
|
||||||
if (player->powers[pw_noautobrake] && player->powers[pw_noautobrake] < UINT16_MAX)
|
if (player->powers[pw_noautobrake] && player->powers[pw_noautobrake] < UINT16_MAX)
|
||||||
player->powers[pw_noautobrake]--;
|
player->powers[pw_noautobrake]--;
|
||||||
|
|
||||||
if (player->powers[pw_pushing] && player->powers[pw_pushing] < UINT16_MAX)
|
|
||||||
player->powers[pw_pushing]--;
|
|
||||||
|
|
||||||
if (player->powers[pw_underwater] && (player->pflags & PF_GODMODE || (player->powers[pw_shield] & SH_PROTECTWATER)))
|
if (player->powers[pw_underwater] && (player->pflags & PF_GODMODE || (player->powers[pw_shield] & SH_PROTECTWATER)))
|
||||||
{
|
{
|
||||||
if (player->powers[pw_underwater] <= 12*TICRATE+1)
|
if (player->powers[pw_underwater] <= 12*TICRATE+1)
|
||||||
|
|
Loading…
Reference in a new issue