mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
small fix for a crash that I added at the last moment...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5056 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3061ed448f
commit
7bfb3b56fa
4 changed files with 7 additions and 4 deletions
|
@ -5660,6 +5660,9 @@ void Host_FinishLoading(void)
|
|||
r_blockvidrestart = 2;
|
||||
|
||||
Menu_Download_Update();
|
||||
|
||||
IPLog_Merge_File("iplog.txt");
|
||||
IPLog_Merge_File("iplog.dat"); //legacy crap, for compat with proquake
|
||||
}
|
||||
|
||||
#ifdef ANDROID
|
||||
|
|
|
@ -1666,7 +1666,7 @@ qboolean FS_NativePath(const char *fname, enum fs_relative relativeto, char *out
|
|||
last = NULL;
|
||||
for (i = 0; i < sizeof(fs_manifest->gamepath)/sizeof(fs_manifest->gamepath[0]); i++)
|
||||
{
|
||||
if (fs_manifest->gamepath[i].base && fs_manifest->gamepath[i].path)
|
||||
if (fs_manifest && fs_manifest->gamepath[i].base && fs_manifest->gamepath[i].path)
|
||||
{
|
||||
if (*fs_manifest->gamepath[i].path == '*')
|
||||
continue;
|
||||
|
|
|
@ -638,9 +638,6 @@ void Log_Init(void)
|
|||
Cmd_AddCommand("ipmerge", IPLog_Merge_f);
|
||||
Cmd_AddCommand("ipdump", IPLog_Dump_f);
|
||||
|
||||
IPLog_Merge_File("iplog.txt");
|
||||
IPLog_Merge_File("iplog.dat"); //legacy crap, for compat with proquake
|
||||
|
||||
// cmd line options, debug options
|
||||
#ifdef CRAZYDEBUGGING
|
||||
Cvar_ForceSet(&log_enable[LOG_CONSOLE], "1");
|
||||
|
|
|
@ -5439,6 +5439,9 @@ void SV_Init (quakeparms_t *parms)
|
|||
}
|
||||
#endif
|
||||
|
||||
IPLog_Merge_File("iplog.txt");
|
||||
IPLog_Merge_File("iplog.dat"); //legacy crap, for compat with proquake
|
||||
|
||||
// if a map wasn't specified on the command line, spawn start.map
|
||||
//aliases require that we flush the cbuf in order to actually see the results.
|
||||
if (sv.state == ss_dead && Cmd_AliasExist("startmap_dm", RESTRICT_LOCAL))
|
||||
|
|
Loading…
Reference in a new issue