]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Spawn turrets slightly closer to the player
authorMario <mario.mario@y7mail.com>
Mon, 22 Apr 2013 20:12:39 +0000 (06:12 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 22 Apr 2013 20:12:39 +0000 (06:12 +1000)
qcsrc/server/mutators/gamemode_towerdefense.qc

index 7000832579a80e5149737414a6d879b532475f00..ff961ffef917b4c254b126ccf4ced78c0c6d703a 100644 (file)
@@ -947,7 +947,7 @@ MUTATOR_HOOKFUNCTION(td_PlayerCommand)
        if(MUTATOR_RETURNVALUE) { return FALSE; } // command was already handled?
        
        makevectors(self.v_angle);
-       WarpZone_TraceLine(self.origin, self.origin + v_forward * 150, MOVE_HITMODEL, self);
+       WarpZone_TraceLine(self.origin, self.origin + v_forward * 100, MOVE_HITMODEL, self);
        entity targ = trace_ent;
        if(targ.owner.realowner == self)
                targ = targ.owner;