engine: host: use #if instead of #ifdef when checking for extended hl25 structs compile option

This commit is contained in:
Alibek Omarov 2025-03-03 22:59:44 +03:00
parent 2f5840f650
commit 0e90e6285e

View file

@ -1237,7 +1237,7 @@ int EXPORT Host_Main( int argc, char **argv, const char *progname, int bChangeGa
Cvar_Getf( "host_lowmemorymode", FCVAR_READ_ONLY, "indicates if engine compiled for low RAM consumption (0 - normal, 1 - low engine limits, 2 - low protocol limits)", "%i", XASH_LOW_MEMORY );
Cvar_Get( "host_hl25_extended_structs",
#ifdef SUPPORT_HL25_EXTENDED_STRUCTS
#if SUPPORT_HL25_EXTENDED_STRUCTS
"1",
#else
"0",