Skip to content

Commit

Permalink
Fixed flashbang material
Browse files Browse the repository at this point in the history
  • Loading branch information
Rex109 committed Jan 8, 2025
1 parent 9bbd028 commit 711919c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cod4qol/commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion cod4qol/defines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <vector>

#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
Expand Down

0 comments on commit 711919c

Please sign in to comment.