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

View file

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