Unhook glColor4f from destructor

This commit is contained in:
8dcc 2023-07-25 14:28:03 +02:00
parent 2caa3ae57e
commit 6e39b49c4b
1 changed files with 2 additions and 0 deletions

View File

@ -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");