warning fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6248 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2011-04-14 15:24:11 +00:00
parent 67392bd0fc
commit a4b83ef2ba
7 changed files with 8 additions and 17 deletions
-2
View File
@@ -157,11 +157,9 @@ void createrays(vec &from, vec &to) // create random spread of rays for the shot
spoke.orthogonal(dir);
spoke.normalize();
spoke.mul(f);
int circseg = -1;
loopk(3)
loopi(SGRAYS)
{
circseg = k;
int j = k * SGRAYS;
sgr[j+i].ds = k==0 ? SGSEGDMG_O : (k==1? SGSEGDMG_M: SGSEGDMG_C);
vec p(spoke);