Skip to content

Commit

Permalink
engine: host: use #if instead of #ifdef when checking for extended hl…
Browse files Browse the repository at this point in the history
…25 structs compile option
  • Loading branch information
a1batross committed Mar 3, 2025
1 parent 2f5840f commit 0e90e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/common/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0e90e62

Please # to comment.