]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Minor fix
authorMario <mario@smbclan.net>
Sun, 12 Mar 2017 03:35:57 +0000 (13:35 +1000)
committerMario <mario@smbclan.net>
Sun, 12 Mar 2017 03:35:57 +0000 (13:35 +1000)
qcsrc/server/race.qc

index 328900fa9f5255f56a6dd6570b2b37730b6a0ddf..abe2308104a33f5f6d373be44c1f667cea2223c4 100644 (file)
@@ -819,7 +819,7 @@ void trigger_race_checkpoint_verify(entity this)
                entity cpt = it;
                FOREACH_ENTITY_STRING(target, cpt.targetname,
                {
-                       vector org = (this.absmin + this.absmax) * 0.5;
+                       vector org = (it.absmin + it.absmax) * 0.5;
                        if(cpt.race_checkpoint == 0)
                                WaypointSprite_SpawnFixed(WP_RaceStart, org, it, sprite, RADARICON_NONE);
                        else