mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 16:10:53 +00:00
fix a core dump when failing to allocate the hunk
This commit is contained in:
parent
301eb4b8fd
commit
9aace57b07
1 changed files with 1 additions and 1 deletions
|
@ -1387,7 +1387,7 @@ Host_WriteConfiguration (void)
|
||||||
{
|
{
|
||||||
VFile *f;
|
VFile *f;
|
||||||
|
|
||||||
if (cl_writecfg->int_val && host_initialized) {
|
if (host_initialized && cl_writecfg->int_val) {
|
||||||
char *path = va ("%s/config.cfg", com_gamedir);
|
char *path = va ("%s/config.cfg", com_gamedir);
|
||||||
|
|
||||||
COM_CreatePath (path);
|
COM_CreatePath (path);
|
||||||
|
|
Loading…
Reference in a new issue