Skip to content

Commit

Permalink
fix for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Shorokhov committed Oct 8, 2022
1 parent 83151aa commit d8702df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regamedll/dlls/ggrenade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8702df

Please sign in to comment.