Unhook glColor4f from destructor

This commit is contained in:
8dcc
2023-07-25 14:28:03 +02:00
parent 2caa3ae57e
commit 6e39b49c4b

View File

@@ -46,6 +46,8 @@ void unload() {
/* TODO: Remove our cvars */ /* TODO: Remove our cvars */
globals_restore(); globals_restore();
GL_UNHOOK(glColor4f); /* Manually restore OpenGL hooks here */
} }
printf("hl-cheat unloaded.\n\n"); printf("hl-cheat unloaded.\n\n");