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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user