From a9ea5413aa40e8b87935da1eb8d77d6af539df04 Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Sat, 10 Sep 2022 01:50:39 -0600 Subject: [PATCH] Fix wrong type not much of big dealy really --- cheat-library/src/user/cheat/visuals/AnimationChanger.cpp | 2 +- cheat-library/src/user/cheat/visuals/AnimationChanger.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp index 98cb1fe..a6e3e8c 100644 --- a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp @@ -269,7 +269,7 @@ namespace cheat::feature ConfigWidget("Apply Key", f_ApplyKey, true); ConfigWidget("Reset Key", f_ResetKey, true); - ConfigWidget("Delay", f_Delay, 1.0f, 1.0f, 1000000000.0f, "Delay to repeat animation"); + ConfigWidget("Delay", f_Delay, 1, 1, 1000000000, "Delay to repeat animation"); } } ImGui::EndGroupPanel(); diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.h b/cheat-library/src/user/cheat/visuals/AnimationChanger.h index 586df55..4a7ecaa 100644 --- a/cheat-library/src/user/cheat/visuals/AnimationChanger.h +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.h @@ -12,7 +12,7 @@ namespace cheat::feature config::Field f_Animation; config::Field f_ApplyKey; config::Field f_ResetKey; - config::Field f_Delay; + config::Field f_Delay; const FeatureGUIInfo& GetGUIInfo() const override; void DrawMain() override;