mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-29 08:05:46 +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
|
// if the defuse process has ended, kill the c4
|
||||||
else if (m_pBombDefuser->pev->deadflag == DEAD_NO)
|
else if (m_pBombDefuser->pev->deadflag == DEAD_NO)
|
||||||
{
|
{
|
||||||
|
#ifndef REGAMEDLL_FIXES
|
||||||
Broadcast("BOMBDEF");
|
Broadcast("BOMBDEF");
|
||||||
|
#endif
|
||||||
|
|
||||||
if (TheBots)
|
if (TheBots)
|
||||||
{
|
{
|
||||||
|
@ -1223,6 +1223,11 @@ bool CHalfLifeMultiplay::Target_Bombed(float tmDelay)
|
|||||||
bool CHalfLifeMultiplay::Target_Defused(float tmDelay)
|
bool CHalfLifeMultiplay::Target_Defused(float tmDelay)
|
||||||
{
|
{
|
||||||
Broadcast("ctwin");
|
Broadcast("ctwin");
|
||||||
|
|
||||||
|
#ifdef REGAMEDLL_FIXES
|
||||||
|
Broadcast("BOMBDEF");
|
||||||
|
#endif
|
||||||
|
|
||||||
m_iAccountCT += m_rgRewardAccountRules[RR_BOMB_DEFUSED];
|
m_iAccountCT += m_rgRewardAccountRules[RR_BOMB_DEFUSED];
|
||||||
m_iAccountTerrorist += m_rgRewardAccountRules[RR_BOMB_PLANTED];
|
m_iAccountTerrorist += m_rgRewardAccountRules[RR_BOMB_PLANTED];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user