diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index 58efb4038..88079c6cb 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -1689,7 +1689,7 @@ static void SV_CheckRecentCrashes(client_t *tellclient) struct stat sb; if (-1 != stat("crash.log", &sb)) { - if (time(NULL) - sb.st_mtime) > 2*24*60*60) + if ((time(NULL) - sb.st_mtime) > 2*24*60*60) 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)); } diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index 60353b6e7..8f537f8fc 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -874,7 +874,7 @@ SV_Modellist_f */ void SVQW_Modellist_f (void) { - if (host_client->prespawn_stage == PRESPAWN_MODELLIST) + if ((host_client->prespawn_stage == PRESPAWN_MODELLIST) || (host_client->prespawn_stage == PRESPAWN_VWEPMODELLIST)) host_client->prespawn_idx &= ~0x80000000; }