This commit is contained in:
s1lent 2017-11-01 22:47:40 +07:00
parent 9374fced90
commit 25d2e6ce9e
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C
2 changed files with 7 additions and 0 deletions

View File

@ -1294,7 +1294,9 @@ void CGrenade::C4Think()
// if the defuse process has ended, kill the c4
else if (m_pBombDefuser->pev->deadflag == DEAD_NO)
{
#ifndef REGAMEDLL_FIXES
Broadcast("BOMBDEF");
#endif
if (TheBots)
{

View File

@ -1223,6 +1223,11 @@ bool CHalfLifeMultiplay::Target_Bombed(float tmDelay)
bool CHalfLifeMultiplay::Target_Defused(float tmDelay)
{
Broadcast("ctwin");
#ifdef REGAMEDLL_FIXES
Broadcast("BOMBDEF");
#endif
m_iAccountCT += m_rgRewardAccountRules[RR_BOMB_DEFUSED];
m_iAccountTerrorist += m_rgRewardAccountRules[RR_BOMB_PLANTED];