assignment fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2215 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-07-26 10:59:30 +00:00
parent 894a1ee02c
commit 2d1affb1ad
+1 -1
View File
@@ -322,7 +322,7 @@ struct sourcescheduler
source *l = sources[i];
if(l->priority <= priority)
{
vec &lpos = l->position();
vec lpos = l->position();
float ldist = lpos.iszero() ? 0.0f : camera1->o.dist(lpos);
float lscore = ldist - l->priority*10.0f;
if(!farthest || lscore > farthestscore)