mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
quick fix to handle .ent files starting with comments
This commit is contained in:
parent
07d7f81e14
commit
59c26b5ce0
1 changed files with 4 additions and 5 deletions
|
@ -487,13 +487,12 @@ ED_ParseOld (progs_t *pr, const char *data)
|
|||
void
|
||||
ED_LoadFromFile (progs_t *pr, const char *data)
|
||||
{
|
||||
if (*data == '{') {
|
||||
// oldstyle entity data
|
||||
ED_ParseOld (pr, data);
|
||||
} else if (*data == '(') {
|
||||
if (*data == '(') {
|
||||
// new style (plist) entity data
|
||||
} else {
|
||||
plitem_t *plist = PL_GetPropertyList (data);
|
||||
plist = plist;
|
||||
} else {
|
||||
// oldstyle entity data
|
||||
ED_ParseOld (pr, data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue