diff --git a/cl_dll/hud_debug.cpp b/cl_dll/hud_debug.cpp index 66fdeec..1e394c4 100644 --- a/cl_dll/hud_debug.cpp +++ b/cl_dll/hud_debug.cpp @@ -9,7 +9,10 @@ #include "event_api.h" #ifdef _WIN32 -#include +#define HSPRITE DeletedWinapi_HSPRITE// prevent windows.h from defining it +#include +#undef HSPRITE +typedef int HSPRITE; #else #include #endif