From 6e39b49c4be458239883acde8bb0a110ba36d6f4 Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Tue, 25 Jul 2023 14:28:03 +0200 Subject: [PATCH] Unhook glColor4f from destructor --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index e0b2366..f9f288d 100644 --- a/src/main.c +++ b/src/main.c @@ -46,6 +46,8 @@ void unload() { /* TODO: Remove our cvars */ globals_restore(); + + GL_UNHOOK(glColor4f); /* Manually restore OpenGL hooks here */ } printf("hl-cheat unloaded.\n\n");