fix for previous commit

This commit is contained in:
Sergey Shorokhov 2022-10-08 20:35:12 +03:00
parent 83151aaf0b
commit d8702df548

View File

@ -1440,7 +1440,7 @@ void CGrenade::C4Think()
if (pBombOwner)
{
#ifdef REGAMEDLL_ADD
pBombOwner->pev->frags += give_c4_frags.value;
pBombOwner->pev->frags += (int)give_c4_frags.value;
#else
pBombOwner->pev->frags += 3.0f;
#endif