mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
Fix errormode compilation error
This commit is contained in:
parent
c1750d9359
commit
fb9248793a
2 changed files with 2 additions and 3 deletions
|
@ -7311,7 +7311,7 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
case MT_FLAMEAURA_ORB:
|
||||
if (!(mobj->flags2 & MF2_SHIELD))
|
||||
return;
|
||||
if (mobj->state-states < mobj->info->painstate)
|
||||
if ((statenum_t)(mobj->state-states) < mobj->info->painstate)
|
||||
mobj->angle = mobj->target->angle; // implicitly okay because of P_AddShield
|
||||
if (mobj->tracer
|
||||
/* && mobj->target -- the following is implicit by P_AddShield
|
||||
|
|
|
@ -8662,8 +8662,7 @@ static void P_DoRopeHang(player_t *player)
|
|||
|
||||
if (player->cmd.buttons & BT_USE && !(player->pflags & PF_STASIS)) // Drop off of the rope
|
||||
{
|
||||
player->pflags |= P_GetJumpFlags(player);
|
||||
player->pflags |= PF_USEDOWN;
|
||||
player->pflags |= (P_GetJumpFlags(player)|PF_USEDOWN);
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_JUMP);
|
||||
|
||||
P_SetTarget(&player->mo->tracer, NULL);
|
||||
|
|
Loading…
Reference in a new issue