From: Mircea Kitsune Date: Thu, 24 May 2012 15:16:05 +0000 (+0300) Subject: Rename .curve to .curvetarget as suggested by divVerent X-Git-Tag: xonotic-v0.8.0~295^2~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d33ae900940e13550ab79396ad66b73e89a5e6dc;p=xonotic%2Fxonotic-data.pk3dir.git Rename .curve to .curvetarget as suggested by divVerent --- diff --git a/qcsrc/server/t_plats.qc b/qcsrc/server/t_plats.qc index 33fbcd549..5fd9bad79 100644 --- a/qcsrc/server/t_plats.qc +++ b/qcsrc/server/t_plats.qc @@ -304,8 +304,8 @@ void train_wait() entity targ, cp; vector org; targ = find(world, targetname, self.target); - if(self.spawnflags & 1 && targ.curve) - cp = find(world, targetname, targ.curve); + if(self.spawnflags & 1 && targ.curvetarget) + cp = find(world, targetname, targ.curvetarget); else cp = world; @@ -350,9 +350,9 @@ void train_next() self.target = targ.target; if (self.spawnflags & 1) { - if(targ.curve) + if(targ.curvetarget) { - cp = find(world, targetname, targ.curve); // get its second target (the control point) + cp = find(world, targetname, targ.curvetarget); // get its second target (the control point) cp_org = cp.origin - self.mins; // no control point found, assume a straight line to the destination } else