mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
Fixes #187
This commit is contained in:
parent
9374fced90
commit
25d2e6ce9e
@ -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)
|
||||
{
|
||||
|
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user