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 328900f..abe2308 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