From bf4ec67a6f30f0f217a54ec830952f7e31369902 Mon Sep 17 00:00:00 2001 From: In-line Date: Wed, 1 Nov 2017 19:48:17 +0400 Subject: [PATCH] Fix dead defuser progress bar issues (#188) --- regamedll/dlls/ggrenade.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/regamedll/dlls/ggrenade.cpp b/regamedll/dlls/ggrenade.cpp index 734e6573..9dc451a8 100644 --- a/regamedll/dlls/ggrenade.cpp +++ b/regamedll/dlls/ggrenade.cpp @@ -1361,6 +1361,10 @@ void CGrenade::C4Think() m_bStartDefuse = false; m_pBombDefuser = nullptr; +#ifdef REGAMEDLL_FIXES + pPlayer->SetProgressBarTime(0); +#endif + // tell the bots someone has aborted defusing if (TheBots) {