mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-22 20:31:50 +00:00
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:
parent
75ea8fe63c
commit
63c71b4e4f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue