mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Merge branch 'noautobrakefix' into 'master'
Forgot to make pw_noautobrake count down........ See merge request STJr/SRB2Internal!427
This commit is contained in:
commit
97dd22e0e9
1 changed files with 2 additions and 2 deletions
|
@ -11708,8 +11708,8 @@ void P_PlayerThink(player_t *player)
|
||||||
else
|
else
|
||||||
player->powers[pw_justsprung] = 0;
|
player->powers[pw_justsprung] = 0;
|
||||||
|
|
||||||
if (player->powers[pw_pushing] && player->powers[pw_pushing] < UINT16_MAX)
|
if (player->powers[pw_noautobrake] && player->powers[pw_noautobrake] < UINT16_MAX)
|
||||||
player->powers[pw_pushing]--;
|
player->powers[pw_noautobrake]--;
|
||||||
|
|
||||||
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)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue