From 711919ce1d648f0954b4784070bd292649f364dd Mon Sep 17 00:00:00 2001 From: Rex109 Date: Wed, 8 Jan 2025 03:31:04 +0100 Subject: [PATCH] Fixed flashbang material --- cod4qol/commands.cpp | 2 +- cod4qol/defines.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cod4qol/commands.cpp b/cod4qol/commands.cpp index 0a77362..68fc678 100644 --- a/cod4qol/commands.cpp +++ b/cod4qol/commands.cpp @@ -261,7 +261,7 @@ void commands::ToggleSteamAuthUpdate() void commands::ToggleFlashbangUpdate() { static game::Material* flashMaterial = game::rgp->shellShockFlashedMaterial; - static game::Material* whiteMaterial = game::Material_RegisterHandle("black", 3); + game::Material* whiteMaterial = game::Material_RegisterHandle("black", 3); if (commands::qol_invertflashbang->current.enabled) game::rgp->shellShockFlashedMaterial = whiteMaterial; diff --git a/cod4qol/defines.hpp b/cod4qol/defines.hpp index c3b0714..3fd87d1 100644 --- a/cod4qol/defines.hpp +++ b/cod4qol/defines.hpp @@ -5,7 +5,7 @@ #include #define COD4QOL_NAME "CoD4QOL" -#define COD4QOL_BASE_VERSION "1.7.0" +#define COD4QOL_BASE_VERSION "1.7.1" #ifndef _DEBUG #define COD4QOL_VERSION COD4QOL_BASE_VERSION " (" GIT_COMMIT_HASH ")" #else