X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Frace.qc;h=a3cbc685f2be9d3164ce3526d7932a9f962b7a54;hp=87776d4794bca8099a766b92d709e3c51a7a5923;hb=c5fcf672c473edef7139d4250398184b8ae17224;hpb=a3d7cb5a3c18307e896ca1600afd26c6b8502773 diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index 87776d479..a3cbc685f 100644 --- a/qcsrc/server/race.qc +++ b/qcsrc/server/race.qc @@ -913,7 +913,7 @@ spawnfunc(trigger_race_checkpoint) settouch(this, checkpoint_touch); o = (this.absmin + this.absmax) * 0.5; - tracebox(o, STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), o - '0 0 1' * (o.z - this.absmin.z), MOVE_NORMAL, this); + tracebox(o, PL_MIN_CONST, PL_MAX_CONST, o - '0 0 1' * (o.z - this.absmin.z), MOVE_NORMAL, this); waypoint_spawnforitem_force(this, trace_endpos); this.nearestwaypointtimeout = time + 1000000000; @@ -972,7 +972,7 @@ spawnfunc(target_checkpoint) // defrag entity if(is_trigger) { org = (this.absmin + this.absmax) * 0.5; - tracebox(org, STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), org - '0 0 1' * (org.z - this.absmin.z), MOVE_NORMAL, this); + tracebox(org, PL_MIN_CONST, PL_MAX_CONST, org - '0 0 1' * (org.z - this.absmin.z), MOVE_NORMAL, this); waypoint_spawnforitem_force(this, trace_endpos); this.nearestwaypointtimeout = time + 1000000000; }