diff --git a/d3xp/Target.cpp b/d3xp/Target.cpp index b896c42..e07a49f 100644 --- a/d3xp/Target.cpp +++ b/d3xp/Target.cpp @@ -254,7 +254,7 @@ void idTarget_WaitForButton::Think( void ) { if ( thinkFlags & TH_THINK ) { player = gameLocal.GetLocalPlayer(); - if ( player && ( !player->oldButtons & BUTTON_ATTACK ) && ( player->usercmd.buttons & BUTTON_ATTACK ) ) { + if ( player && !( player->oldButtons & BUTTON_ATTACK ) && ( player->usercmd.buttons & BUTTON_ATTACK ) ) { player->usercmd.buttons &= ~BUTTON_ATTACK; BecomeInactive( TH_THINK ); ActivateTargets( player ); diff --git a/game/Target.cpp b/game/Target.cpp index 0fef65e..eea47d7 100644 --- a/game/Target.cpp +++ b/game/Target.cpp @@ -254,7 +254,7 @@ void idTarget_WaitForButton::Think( void ) { if ( thinkFlags & TH_THINK ) { player = gameLocal.GetLocalPlayer(); - if ( player && ( !player->oldButtons & BUTTON_ATTACK ) && ( player->usercmd.buttons & BUTTON_ATTACK ) ) { + if ( player && !( player->oldButtons & BUTTON_ATTACK ) && ( player->usercmd.buttons & BUTTON_ATTACK ) ) { player->usercmd.buttons &= ~BUTTON_ATTACK; BecomeInactive( TH_THINK ); ActivateTargets( player );