diff --git a/engine/common/pr_bgcmd.c b/engine/common/pr_bgcmd.c index 29287d6f8..d51588108 100644 --- a/engine/common/pr_bgcmd.c +++ b/engine/common/pr_bgcmd.c @@ -8077,7 +8077,7 @@ qc_extension_t QSG_Extensions[] = { {"FTE_QC_BASEFRAME", NULL, 0,{NULL}, "Specifies that .basebone and .baseframe exist in ssqc. These fields affect all bones in the entity's model with a lower index than the .basebone field, allowing you to give separate control to the legs of a skeletal model, without affecting the torso animations, from ssqc."}, {"FTE_QC_FILE_BINARY", NULL, 4,{"fread","fwrite","fseek","fsize"}, "Extends FRIK_FILE with binary read+write, as well as allowing seeking. Requires pointers."}, - {"FTE_QC_CHANGELEVEL_HUB", NULL, 0,{NULL}, "Adds an extra argument to changelevel which is carried over to the next map in the 'spawnspot' global. Maps will be saved+reloaded until the extra argument is omitted again, purging all saved maps. Saved games will contain a copy of each preserved map. parm1-parm64 globals can be used, giving more space to transfer more player data."}, + {"FTE_QC_CHANGELEVEL_HUB", NULL, 0,{NULL}, "Adds an extra argument to changelevel which is carried over to the next map in the 'startspot' global. Maps will be saved+reloaded until the extra argument is omitted again, purging all saved maps. Saved games will contain a copy of each preserved map. parm1-parm64 globals can be used, giving more space to transfer more player data."}, {"FTE_QC_CHECKCOMMAND", NULL, 1,{"checkcommand"}, "Provides a way to test if a console command exists, and whether its a command/alias/cvar. Does not say anything about the expected meanings of any arguments or values."}, {"FTE_QC_CHECKPVS", NULL, 1,{"checkpvs"}}, {"FTE_QC_CROSSPRODUCT", NULL, 1,{"crossproduct"}}, diff --git a/engine/server/pr_cmds.c b/engine/server/pr_cmds.c index a5b9008b4..39005ef54 100644 --- a/engine/server/pr_cmds.c +++ b/engine/server/pr_cmds.c @@ -6280,7 +6280,7 @@ void QCBUILTIN PF_changelevel (pubprogfuncs_t *prinst, struct globalvars_s *pr_g if (progstype == PROG_H2) { COM_QuotedString(PR_GetStringOfs(prinst, OFS_PARM1), startspot, sizeof(startspot), false); - //these flags disable the whole levelcache thing. the spawnspot is meant to still and always be specified. + //these flags disable the whole levelcache thing. the startspot is meant to still and always be specified. //hexen2 ALWAYS specifies two arguments, and it seems that raven left it blank in some single-player maps too. //if we don't want to be stupid/broken in deathmatch, we might as well do the fully compatible thing if ((int)pr_global_struct->serverflags & (16|32)) diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index 403c99abf..54dc6585a 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -2005,11 +2005,14 @@ void SV_AcceptMessage(client_t *newcl) Netchan_OutOfBand (NS_SERVER, &net_from, len, (qbyte *)string); } -#ifndef _WIN32 +#if !defined(_DEBUG) || defined(_WIN32) || defined(FTE_TARGET_WEB) +static void SV_CheckRecentCrashes(client_t *tellclient) +{ +} +#else #include static void SV_CheckRecentCrashes(client_t *tellclient) { -#ifndef FTE_TARGET_WEB struct stat sb; if (-1 != stat("crash.log", &sb)) { @@ -2017,11 +2020,6 @@ static void SV_CheckRecentCrashes(client_t *tellclient) return; //after 2 days, we stop advertising that we once crashed. SV_ClientPrintf(tellclient, PRINT_HIGH, "\1WARNING: crash.log exists, dated %s\n", ctime(&sb.st_mtime)); } -#endif -} -#else -static void SV_CheckRecentCrashes(client_t *tellclient) -{ } #endif