mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-22 12:11:17 +00:00
- Duke: Remove a few remaining triple negations missed in 7498be6f5d
.
This commit is contained in:
parent
489e535992
commit
fd394cddad
4 changed files with 6 additions and 6 deletions
|
@ -2010,13 +2010,13 @@ int ParseState::parse(void)
|
|||
j = 1;
|
||||
else if( (l& pstanding) && vel >= 0 && vel < 0.5)
|
||||
j = 1;
|
||||
else if( (l& pwalking) && vel >= 0.5 && !(!!(p->cmd.ucmd.actions & SB_RUN)) )
|
||||
else if( (l& pwalking) && vel >= 0.5 && !(p->cmd.ucmd.actions & SB_RUN) )
|
||||
j = 1;
|
||||
else if( (l& prunning) && vel >= 0.5 && !!(p->cmd.ucmd.actions & SB_RUN) )
|
||||
j = 1;
|
||||
else if( (l& phigher) && pact->getOffsetZ() < g_ac->spr.pos.Z - 48)
|
||||
j = 1;
|
||||
else if( (l& pwalkingback) && vel <= -0.5 && !(!!(p->cmd.ucmd.actions & SB_RUN)) )
|
||||
else if( (l& pwalkingback) && vel <= -0.5 && !(p->cmd.ucmd.actions & SB_RUN) )
|
||||
j = 1;
|
||||
else if( (l& prunningback) && vel <= -0.5 && (!!(p->cmd.ucmd.actions & SB_RUN)) )
|
||||
j = 1;
|
||||
|
|
|
@ -1342,13 +1342,13 @@ int checkp(DDukeActor* self, DDukePlayer* p, int flags)
|
|||
j = 1;
|
||||
else if ((flags & pstanding) && vel >= 0 && vel < 0.5)
|
||||
j = 1;
|
||||
else if ((flags & pwalking) && vel >= 0.5 && !(!!(p->cmd.ucmd.actions & SB_RUN)))
|
||||
else if ((flags & pwalking) && vel >= 0.5 && !(p->cmd.ucmd.actions & SB_RUN))
|
||||
j = 1;
|
||||
else if ((flags & prunning) && vel >= 0.5 && !!(p->cmd.ucmd.actions & SB_RUN))
|
||||
j = 1;
|
||||
else if ((flags & phigher) && pact->getOffsetZ() < self->spr.pos.Z - 48)
|
||||
j = 1;
|
||||
else if ((flags & pwalkingback) && vel <= -0.5 && !(!!(p->cmd.ucmd.actions & SB_RUN)))
|
||||
else if ((flags & pwalkingback) && vel <= -0.5 && !(p->cmd.ucmd.actions & SB_RUN))
|
||||
j = 1;
|
||||
else if ((flags & prunningback) && vel <= -0.5 && (!!(p->cmd.ucmd.actions & SB_RUN)))
|
||||
j = 1;
|
||||
|
|
|
@ -240,7 +240,7 @@ void checksectors_d(DDukePlayer* const p)
|
|||
}
|
||||
}
|
||||
|
||||
if (!(!!(p->cmd.ucmd.actions & SB_OPEN)))
|
||||
if (!(p->cmd.ucmd.actions & SB_OPEN))
|
||||
p->toggle_key_flag = 0;
|
||||
|
||||
else if (!p->toggle_key_flag)
|
||||
|
|
|
@ -210,7 +210,7 @@ void checksectors_r(DDukePlayer* const p)
|
|||
lotsofstuff(pact, 2, DukeMailClass);
|
||||
|
||||
|
||||
if (!(!!(p->cmd.ucmd.actions & SB_OPEN)))
|
||||
if (!(p->cmd.ucmd.actions & SB_OPEN))
|
||||
p->toggle_key_flag = 0;
|
||||
|
||||
else if (!p->toggle_key_flag)
|
||||
|
|
Loading…
Reference in a new issue