mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- Duke: Change a few triple negations from the wrapper removal process.
This commit is contained in:
parent
98e83fcc3a
commit
7498be6f5d
3 changed files with 4 additions and 4 deletions
|
@ -58,7 +58,7 @@ void hud_input(DDukePlayer* const p)
|
|||
auto pact = p->GetActor();
|
||||
|
||||
i = p->aim_mode;
|
||||
p->aim_mode = !!!(p->cmd.ucmd.actions & SB_AIMMODE);
|
||||
p->aim_mode = !(p->cmd.ucmd.actions & SB_AIMMODE);
|
||||
if (p->aim_mode < i)
|
||||
p->cmd.ucmd.actions |= SB_CENTERVIEW;
|
||||
|
||||
|
@ -104,7 +104,7 @@ void hud_input(DDukePlayer* const p)
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!!!(p->cmd.ucmd.actions & SB_QUICK_KICK)) p->quick_kick_msg = false;
|
||||
if (!(p->cmd.ucmd.actions & SB_QUICK_KICK)) p->quick_kick_msg = false;
|
||||
|
||||
if (!(p->cmd.ucmd.actions & SB_INTERFACE_BITS))
|
||||
p->interface_toggle_flag = 0;
|
||||
|
|
|
@ -312,7 +312,7 @@ void checksectors_d(DDukePlayer* const p)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!!!(p->cmd.ucmd.actions & SB_OPEN)) return;
|
||||
if (!(p->cmd.ucmd.actions & SB_OPEN)) return;
|
||||
else if (p->newOwner != nullptr)
|
||||
{
|
||||
clearcameras(p);
|
||||
|
|
|
@ -340,7 +340,7 @@ void checksectors_r(DDukePlayer* const p)
|
|||
}
|
||||
}
|
||||
|
||||
if (!!!(p->cmd.ucmd.actions & SB_OPEN)) return;
|
||||
if (!(p->cmd.ucmd.actions & SB_OPEN)) return;
|
||||
|
||||
if (near.hitWall == nullptr && near.hitSector == nullptr && near.actor() == nullptr)
|
||||
if (hits(pact) < 32)
|
||||
|
|
Loading…
Reference in a new issue