X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=pr_edict.c;h=9f22b1e4dae18769f48bf0d44039fbab0d7a176f;hp=324ad388e95ca966e1fc6d52ac910772c9423239;hb=ef35a088cb3ab1900acdbd5285465cd845368e79;hpb=01e2d86178b9523fa75e106f2c844c8e45e300bf diff --git a/pr_edict.c b/pr_edict.c index 324ad388..9f22b1e4 100644 --- a/pr_edict.c +++ b/pr_edict.c @@ -814,7 +814,7 @@ void ED_ParseGlobals (const char *data) while (1) { // parse key - if (!COM_ParseToken (&data)) + if (!COM_ParseToken(&data, false)) Host_Error ("ED_ParseEntity: EOF without closing brace"); if (com_token[0] == '}') break; @@ -822,7 +822,7 @@ void ED_ParseGlobals (const char *data) strcpy (keyname, com_token); // parse value - if (!COM_ParseToken (&data)) + if (!COM_ParseToken(&data, false)) Host_Error ("ED_ParseEntity: EOF without closing brace"); if (com_token[0] == '}') @@ -982,7 +982,7 @@ const char *ED_ParseEdict (const char *data, edict_t *ent) while (1) { // parse key - if (!COM_ParseToken (&data)) + if (!COM_ParseToken(&data, false)) Host_Error ("ED_ParseEntity: EOF without closing brace"); if (com_token[0] == '}') break; @@ -1012,7 +1012,7 @@ const char *ED_ParseEdict (const char *data, edict_t *ent) } // parse value - if (!COM_ParseToken (&data)) + if (!COM_ParseToken(&data, false)) Host_Error ("ED_ParseEntity: EOF without closing brace"); if (com_token[0] == '}') @@ -1082,7 +1082,7 @@ void ED_LoadFromFile (const char *data) while (1) { // parse the opening brace - if (!COM_ParseToken (&data)) + if (!COM_ParseToken(&data, false)) break; if (com_token[0] != '{') Host_Error ("ED_LoadFromFile: found %s when expecting {",com_token);