Merge branch 'next' into hardcode-restat

This commit is contained in:
minenice55 2026-01-12 00:05:35 +01:00
commit 9eb0b6fd2d
3 changed files with 8 additions and 7 deletions

View file

@ -372,7 +372,7 @@ void K_DisplayItemTimers(void)
INT32 itemx = 0, itemy = 0;
INT32 flags = 0;
INT32 stepx = 25;
INT32 viewnum = R_GetViewNumber();
//INT32 viewnum = R_GetViewNumber();
drawinfo_t info;
K_getTimersDrawinfo(&info);
@ -381,8 +381,8 @@ void K_DisplayItemTimers(void)
flags = info.flags;
// Move it up to account for viewpoint text
if (cv_showviewpointtext.value && !demo.title && !P_IsLocalPlayer(stplyr) && !camera[viewnum].freecam && !r_splitscreen)
itemy -= 12;
//if (cv_showviewpointtext.value && !demo.title && !P_IsLocalPlayer(stplyr) && !camera[viewnum].freecam && !r_splitscreen)
//itemy -= 12;
// flags |= V_HUDTRANS;

View file

@ -2219,9 +2219,10 @@ boolean K_TripwirePass(const player_t *player)
boolean K_PlayerCanPunt(const player_t *player)
{
return player->invincibilitytimer > 0 || player->growshrinktimer > 0 ||
(player->flamestore > 0 && K_GetShieldFromPlayer(player) == KSHIELD_FLAME) ||
K_AltShrinkArrowBulletCondition(player);
return player->invincibilitytimer > 0 || player->growshrinktimer > 0
|| (player->flamestore > 0 && K_GetShieldFromPlayer(player) == KSHIELD_FLAME)
|| (player->bubbleblowup > 0 && K_GetShieldFromPlayer(player) == KSHIELD_BUBBLE)
|| K_AltShrinkArrowBulletCondition(player);
}
boolean K_ItemMobjAllowedtoWaterRun(mobj_t *item)

View file

@ -2231,7 +2231,7 @@ boolean P_CheckPosition(mobj_t *thing, fixed_t x, fixed_t y, TryMoveResult_t *re
mobj_t *mo1 = thing, *mo2 = g_tm.hitthing;
boolean stomp = false;
if (mo2->player != NULL)
if (mo1->player != NULL && mo2->player != NULL) // bounce when players collide
{
if (P_IsObjectOnGround(mo2) && mo1->momz < 0)
{