diff --git a/memory-external/hacks/hack.hpp b/memory-external/hacks/hack.hpp index 7a41cc4..686a8aa 100644 --- a/memory-external/hacks/hack.hpp +++ b/memory-external/hacks/hack.hpp @@ -267,11 +267,9 @@ namespace hack { ); float flashDuration = process->read(pCSPlayerPawn + updater::offsets::m_flFlashDuration); - bool isFlashed; - if (flashDuration > 0.0) - isFlashed = true; - if (isFlashed) + if (flashDuration > 0.1) { + std::cout << std::to_string(flashDuration) << std::endl; render::RenderText( g::hdcBuffer, screenHead.x + (width / 2 + 5),