mp_defuser_allocation: Send a message with a hint instead of the text in the center

This commit is contained in:
s1lentq 2024-06-01 20:26:00 +07:00
parent bdc96d26d9
commit fef9bf3a87

View File

@ -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);
}
}