Silence another 2 gcc48 warnings due to creative array usage

This is nearly the same case as in 1bee58840d and should be a no-op.
This commit is contained in:
Yamagi Burmeister 2013-04-07 13:54:24 +02:00
parent 1bee58840d
commit 9def7d908f

View file

@ -1619,9 +1619,11 @@ CL_FlyParticles(vec3_t origin, int count)
if (!avelocities[0][0])
{
for (i = 0; i < NUMVERTEXNORMALS * 3; i++)
for (i = 0; i < NUMVERTEXNORMALS; i++)
{
avelocities[0][i] = (randk() & 255) * 0.01f;
avelocities[i][0] = (randk() & 255) * 0.01f;
avelocities[i][1] = (randk() & 255) * 0.01f;
avelocities[i][2] = (randk() & 255) * 0.01f;
}
}
@ -1726,9 +1728,11 @@ CL_BfgParticles(entity_t *ent)
if (!avelocities[0][0])
{
for (i = 0; i < NUMVERTEXNORMALS * 3; i++)
for (i = 0; i < NUMVERTEXNORMALS; i++)
{
avelocities[0][i] = (randk() & 255) * 0.01f;
avelocities[i][0] = (randk() & 255) * 0.01f;
avelocities[i][1] = (randk() & 255) * 0.01f;
avelocities[i][2] = (randk() & 255) * 0.01f;
}
}