Fix errormode compilation error
This commit is contained in:
parent
c1750d9359
commit
fb9248793a
|
@ -7311,7 +7311,7 @@ void P_MobjThinker(mobj_t *mobj)
|
||||||
case MT_FLAMEAURA_ORB:
|
case MT_FLAMEAURA_ORB:
|
||||||
if (!(mobj->flags2 & MF2_SHIELD))
|
if (!(mobj->flags2 & MF2_SHIELD))
|
||||||
return;
|
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
|
mobj->angle = mobj->target->angle; // implicitly okay because of P_AddShield
|
||||||
if (mobj->tracer
|
if (mobj->tracer
|
||||||
/* && mobj->target -- the following is implicit by P_AddShield
|
/* && 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
|
if (player->cmd.buttons & BT_USE && !(player->pflags & PF_STASIS)) // Drop off of the rope
|
||||||
{
|
{
|
||||||
player->pflags |= P_GetJumpFlags(player);
|
player->pflags |= (P_GetJumpFlags(player)|PF_USEDOWN);
|
||||||
player->pflags |= PF_USEDOWN;
|
|
||||||
P_SetPlayerMobjState(player->mo, S_PLAY_JUMP);
|
P_SetPlayerMobjState(player->mo, S_PLAY_JUMP);
|
||||||
|
|
||||||
P_SetTarget(&player->mo->tracer, NULL);
|
P_SetTarget(&player->mo->tracer, NULL);
|
||||||
|
|
Loading…
Reference in a new issue