From 3cd312bc66437ea21f84b52203cede3d119d2857 Mon Sep 17 00:00:00 2001 From: ScriptedSnark <51358194+ScriptedSnark@users.noreply.github.com> Date: Wed, 13 Nov 2024 21:34:33 +0500 Subject: [PATCH] Make GTA HUD effect consistent --- GSChaos/CFeatureGTA3HUD.cpp | 5 +++++ GSChaos/CFeatureGTA3HUD.h | 1 + 2 files changed, 6 insertions(+) diff --git a/GSChaos/CFeatureGTA3HUD.cpp b/GSChaos/CFeatureGTA3HUD.cpp index 412bb2f8..9c30c3be 100644 --- a/GSChaos/CFeatureGTA3HUD.cpp +++ b/GSChaos/CFeatureGTA3HUD.cpp @@ -660,6 +660,11 @@ double CFeatureGTA3HUD::GetDuration() } bool CFeatureGTA3HUD::UseCustomDuration() +{ + return true; +} + +bool CFeatureGTA3HUD::CanBeInfinite() { return true; } \ No newline at end of file diff --git a/GSChaos/CFeatureGTA3HUD.h b/GSChaos/CFeatureGTA3HUD.h index af9b354e..2b57103d 100644 --- a/GSChaos/CFeatureGTA3HUD.h +++ b/GSChaos/CFeatureGTA3HUD.h @@ -52,6 +52,7 @@ class CFeatureGTA3HUD : public CChaosFeature void DrawNotify(); double GetDuration() override; bool UseCustomDuration() override; + bool CanBeInfinite() override; private: bool m_bActivated; bool m_bFlashHealth;