From d8702df5482d8945dff4ef5005261ffbc8b29343 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Sat, 8 Oct 2022 20:35:12 +0300 Subject: [PATCH] fix for previous commit --- regamedll/dlls/ggrenade.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regamedll/dlls/ggrenade.cpp b/regamedll/dlls/ggrenade.cpp index 8732b571..48c52622 100644 --- a/regamedll/dlls/ggrenade.cpp +++ b/regamedll/dlls/ggrenade.cpp @@ -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