Skip to content

Commit

Permalink
mp_defuser_allocation: Send a message with a hint instead of the text…
Browse files Browse the repository at this point in the history
… in the center
  • Loading branch information
s1lentq committed Jun 2, 2024
1 parent bdc96d2 commit fef9bf3
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 @@ -5464,9 +5464,9 @@ void CHalfLifeMultiplay::GiveDefuserToRandomPlayer()
for (int i = 0; i < iDefusersToGive && i < candidates.Count(); ++i)
{
CBasePlayer *pPlayer = candidates[i];
assert(pPlayer && pPlayer->m_iTeam == CT && pPlayer->IsAlive());
DbgAssert(pPlayer && pPlayer->m_iTeam == CT && pPlayer->IsAlive());

pPlayer->GiveDefuser();
ClientPrint(pPlayer->pev, HUD_PRINTCENTER, "#Got_defuser");
pPlayer->HintMessage("#Got_defuser", FALSE, TRUE);
}
}

0 comments on commit fef9bf3

Please sign in to comment.