mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 10:02:01 +00:00
Fix errormode compilation error
This commit is contained in:
parent
9f4c65dc01
commit
7d4c39a738
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…
Add table
Reference in a new issue