From 5a5e72c424faed9db9d153525eb7922c8f8bf1a6 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 17 Aug 2022 14:43:55 +0300 Subject: [PATCH] engine: print current bug-compatibility level, if enabled --- engine/common/host.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engine/common/host.c b/engine/common/host.c index 976525f2..97fdb923 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -1053,6 +1053,12 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha Sys_InitLog(); + // print bugcompatibility level here, after log was initialized + if( host.bugcomp == BUGCOMP_GOLDSRC ) + { + Con_Printf( "^3BUGCOMP^7: GoldSrc bug-compatibility enabled\n" ); + } + Cmd_AddCommand( "exec", Host_Exec_f, "execute a script file" ); Cmd_AddCommand( "memlist", Host_MemStats_f, "prints memory pool information" ); Cmd_AddRestrictedCommand( "userconfigd", Host_Userconfigd_f, "execute all scripts from userconfig.d" );