pr_edict.c (ED_ParseEpair): remove a developer.value check before the Con_Dwarning call added by r1527

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1528 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2017-11-10 05:55:04 +00:00
parent c9274d0feb
commit 9c45d6014a

View file

@ -812,7 +812,6 @@ static qboolean ED_ParseEpair (void *base, ddef_t *key, const char *s)
// ericw -- fill remaining elements to 0.0f in case we hit the end of string before reading 3 floats // ericw -- fill remaining elements to 0.0f in case we hit the end of string before reading 3 floats
if (i < 3) if (i < 3)
{ {
if (developer.value)
Con_DWarning("vanilla will read garbage for \"%s\" \"%s\"\n", PR_GetString(key->s_name), s); Con_DWarning("vanilla will read garbage for \"%s\" \"%s\"\n", PR_GetString(key->s_name), s);
for (; i < 3; i++) for (; i < 3; i++)
((float *)d)[i] = 0.0f; ((float *)d)[i] = 0.0f;