]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_client.qc
remove an unused arg
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_client.qc
index 97e44c3ca2dc6d776819cf950aa734d1603778de..9d220fc12be68e80ee4ce303907f8cdcdb41e9d9 100644 (file)
@@ -162,6 +162,7 @@ vector Spawn_Score(entity spot, float mindist, float teamcheck)
                prio += SPAWN_PRIO_GOOD_DISTANCE;
 
        spawn_score = prio * '1 0 0' + shortest * '0 1 0';
+       spawn_score_spot = spot;
 
        // filter out spots for assault
        if(spot.target != "") {
@@ -176,7 +177,7 @@ vector Spawn_Score(entity spot, float mindist, float teamcheck)
                        {
                                entity oldself = self;
                                self = ent;
-                               spawn_score = ent.spawn_evalfunc(oldself, spot, teamcheck, spawn_score);
+                               spawn_score = ent.spawn_evalfunc(oldself, spot, spawn_score);
                                self = oldself;
                                if(spawn_score_x < 0)
                                        return spawn_score;