better english in the comment :/

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4882 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-05-16 16:32:52 +00:00
parent 6541c23426
commit 0fe4f792dd
+1 -1
View File
@@ -143,7 +143,7 @@ void createrays(vec &from, vec &to) // create random spread of rays
float f = to.dist(from)*SGSPREAD/1000;
loopi(SGRAYS)
{
#define RNDD (rnd_2x(51)-50)*f // With change (rnd_2x in place of rnd) the spread does not change, but there will be more shots in the middle
#define RNDD (rnd_2x(51)-50)*f // With this (rnd_2x in place of rnd) the spread does not change, but there will be more shots in the middle area
vec r(RNDD, RNDD, RNDD);
sg[i] = to;
sg[i].add(r);