Remove sanity check to *data in ED_ParseEdict().

There's another check down below. This was reported by maraakate in
yquake2 issue #160.
This commit is contained in:
Yamagi Burmeister 2016-12-17 09:57:10 +01:00
parent 75ea8fe63c
commit 63c71b4e4f
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ ED_ParseEdict(char *data, edict_t *ent)
char keyname[256];
const char *com_token;
if (!ent || !data)
if (!ent)
{
return NULL;
}