just in case

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4476 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-09-12 06:55:52 +00:00
parent 51d71fee45
commit 4cd41b9e49
2 changed files with 2 additions and 2 deletions

View File

@ -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));
}

View File

@ -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;
}