Skip to content

Commit

Permalink
codestyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Dec 13, 2023
1 parent 775290e commit 370781b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regamedll/dlls/multiplay_gamerules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5418,10 +5418,10 @@ void CHalfLifeMultiplay::GiveDefuserToRandomPlayer()
);

// give defusers to the first N candidates
for ( int i = 0; i < iDefusersToGive && i < candidates.Count(); ++i )
for (int i = 0; i < iDefusersToGive && i < candidates.Count(); ++i)
{
CBasePlayer *pPlayer = candidates[i];
assert( pPlayer && pPlayer->m_iTeam == CT && pPlayer->IsAlive() );
assert(pPlayer && pPlayer->m_iTeam == CT && pPlayer->IsAlive());

pPlayer->GiveDefuser();
ClientPrint(pPlayer->pev, HUD_PRINTCENTER, "#Got_defuser");
Expand Down

0 comments on commit 370781b

Please sign in to comment.