mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-01 05:00:46 +00:00
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:
parent
51d71fee45
commit
4cd41b9e49
2 changed files with 2 additions and 2 deletions
|
@ -1689,7 +1689,7 @@ static void SV_CheckRecentCrashes(client_t *tellclient)
|
||||||
struct stat sb;
|
struct stat sb;
|
||||||
if (-1 != stat("crash.log", &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.
|
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));
|
SV_ClientPrintf(tellclient, PRINT_HIGH, "\1WARNING: crash.log exists, dated %s\n", ctime(&sb.st_mtime));
|
||||||
}
|
}
|
||||||
|
|
|
@ -874,7 +874,7 @@ SV_Modellist_f
|
||||||
*/
|
*/
|
||||||
void SVQW_Modellist_f (void)
|
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;
|
host_client->prespawn_idx &= ~0x80000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue