Don't crash if they specify a 'blocked' field. (happens on a hlbsp)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1856 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
15a7211e20
commit
db97ab71c4
1 changed files with 4 additions and 1 deletions
|
@ -1186,7 +1186,10 @@ char *ED_ParseEdict (progfuncs_t *progfuncs, char *data, edictrun_t *ent)
|
||||||
|
|
||||||
cont:
|
cont:
|
||||||
if (!ED_ParseEpair (progfuncs, ent->fields, (ddefXX_t*)key, qcc_token, 32))
|
if (!ED_ParseEpair (progfuncs, ent->fields, (ddefXX_t*)key, qcc_token, 32))
|
||||||
Sys_Error ("ED_ParseEdict: parse error on entities");
|
{
|
||||||
|
continue;
|
||||||
|
// Sys_Error ("ED_ParseEdict: parse error on entities");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
|
|
Loading…
Reference in a new issue