diff --git a/dlls/aghl/agarena.cpp b/dlls/aghl/agarena.cpp index 203578c7..47b159f0 100644 --- a/dlls/aghl/agarena.cpp +++ b/dlls/aghl/agarena.cpp @@ -40,7 +40,7 @@ void AgArena::Think() CBasePlayer* pPlayer1 = GetPlayer1(); CBasePlayer* pPlayer2 = GetPlayer2(); - if (!pPlayer1 || pPlayer1 && !pPlayer1->IsAlive() || !pPlayer2 || pPlayer2 && !pPlayer2->IsAlive()) + if (!pPlayer1 || ( pPlayer1 && !pPlayer1->IsAlive() ) || !pPlayer2 || ( pPlayer2 && !pPlayer2->IsAlive() ) ) { m_Status = PlayerDied; m_fNextCountdown = gpGlobals->time + 3.0; //Let the effect of him dying play for 3 seconds diff --git a/dlls/dmc/quake_items.cpp b/dlls/dmc/quake_items.cpp index 7e5f4fff..cce00fe0 100644 --- a/dlls/dmc/quake_items.cpp +++ b/dlls/dmc/quake_items.cpp @@ -499,7 +499,7 @@ void CBasePlayer::Deathmatch_Weapon(int iOldWeapon, int iNewWeapon) W_ChangeWeapon( iPickedWep ); break; case 2: - if ( iPickedWep == 8 && !FBitSet(pev->flags , FL_INWATER) || iPickedWep > iOldWep ) + if ( ( iPickedWep == 8 && !FBitSet(pev->flags, FL_INWATER) ) || iPickedWep > iOldWep ) W_ChangeWeapon( iPickedWep ); break; } diff --git a/dlls/dmc/quake_player.cpp b/dlls/dmc/quake_player.cpp index 0218fb47..c621cc2f 100644 --- a/dlls/dmc/quake_player.cpp +++ b/dlls/dmc/quake_player.cpp @@ -32,8 +32,8 @@ extern int gmsgStatusText; extern int gmsgStatusValue; extern DLL_GLOBAL Vector g_vecAttackDir; -/************************************* - STATUS BAR +/*************************************/ +/* STATUS BAR */ /*************************************/ // Initialise the player's status bar