From d33ae900940e13550ab79396ad66b73e89a5e6dc Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Thu, 24 May 2012 18:16:05 +0300 Subject: [PATCH] Rename .curve to .curvetarget as suggested by divVerent --- qcsrc/server/t_plats.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2