Merge branch 'master' of https://git.magicalgirl.moe/STJr/SRB2Internal.git into dashmodecut

This commit is contained in:
toaster 2019-10-28 14:19:25 +00:00
commit ce91bdaaab
2 changed files with 4 additions and 3 deletions

View file

@ -400,7 +400,8 @@ consvar_t cv_showfocuslost = {"showfocuslost", "Yes", CV_SAVE, CV_YesNo, NULL, 0
static CV_PossibleValue_t map_cons_t[] = {
{1,"MIN"},
{NUMMAPS, "MAX"}
{NUMMAPS, "MAX"},
{0,NULL}
};
consvar_t cv_nextmap = {"nextmap", "1", CV_HIDEN|CV_CALL, map_cons_t, Nextmap_OnChange, 0, NULL, NULL, 0, 0, NULL};

View file

@ -11708,8 +11708,8 @@ void P_PlayerThink(player_t *player)
else
player->powers[pw_justsprung] = 0;
if (player->powers[pw_pushing] && player->powers[pw_pushing] < UINT16_MAX)
player->powers[pw_pushing]--;
if (player->powers[pw_noautobrake] && player->powers[pw_noautobrake] < UINT16_MAX)
player->powers[pw_noautobrake]--;
if (player->powers[pw_underwater] && (player->pflags & PF_GODMODE || (player->powers[pw_shield] & SH_PROTECTWATER)))
{