fix to lavasplash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1025 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
641986a0ee
commit
fec4f02b1b
2 changed files with 7 additions and 7 deletions
|
@ -1961,8 +1961,8 @@ int P_RunParticleEffectType (vec3_t org, vec3_t dir, float count, int typenum)
|
|||
break;
|
||||
case SM_LAVASPLASH:
|
||||
// calc directions, org with temp vector
|
||||
ofsvec[0] = k*spawnspc + (rand()%spawnspc);
|
||||
ofsvec[1] = j*spawnspc + (rand()%spawnspc);
|
||||
ofsvec[0] = k + (rand()%spawnspc);
|
||||
ofsvec[1] = j + (rand()%spawnspc);
|
||||
ofsvec[2] = 256;
|
||||
|
||||
arsvec[0] = ofsvec[0];
|
||||
|
@ -1972,14 +1972,14 @@ int P_RunParticleEffectType (vec3_t org, vec3_t dir, float count, int typenum)
|
|||
VectorNormalize(ofsvec);
|
||||
VectorScale(ofsvec, 1.0-(frandom())*m, ofsvec);
|
||||
|
||||
// advance splash loop (fix this)
|
||||
j++;
|
||||
// advance splash loop
|
||||
j += spawnspc;
|
||||
if (j >= ptype->areaspread)
|
||||
{
|
||||
j = -ptype->areaspread;
|
||||
k++;
|
||||
k += spawnspc;
|
||||
if (k >= ptype->areaspread)
|
||||
k = -ptype->areaspread;
|
||||
k = -ptype->areaspread;
|
||||
}
|
||||
break;
|
||||
case SM_UNICIRCLE:
|
||||
|
|
|
@ -1386,7 +1386,7 @@ char *particle_set_faithful =
|
|||
" colorindex 224\n"
|
||||
" colorrand 8\n"
|
||||
" gravity 40\n"
|
||||
" areaspread 16\n"
|
||||
" areaspread 128\n"
|
||||
" areaspreadvert 63\n"
|
||||
" offsetspread 113\n"
|
||||
" offsetspreadvert 113\n"
|
||||
|
|
Loading…
Reference in a new issue