*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@65 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2005-10-25 17:01:37 +00:00
parent b9293196a6
commit 8e65cad216
3 changed files with 29 additions and 38 deletions
+2 -2
View File
@@ -420,6 +420,7 @@ void shotlinereset() { loopi(MAXSHOTLINES) shotlines[i].inuse = false; };
void addshotline(dynent *d, vec &from, vec &to)
{
if(d == player1) return;
if(rnd(3) != 0) return;
loopi(MAXSHOTLINES)
{
@@ -427,8 +428,7 @@ void addshotline(dynent *d, vec &from, vec &to)
if(s->inuse) continue;
int start = 10;
vdist(_dist, _unitv, player1->o, to);
if(d == player1) start = 1;
else if(_dist <= 10.0f) start = 8;
if(_dist <= 10.0f) start = 8;
else start = 5;
vdist(dist, unitv, from, to);