Include gmqcc binaries for Windows and Linux
[voretournament/voretournament.git] / data / qcsrc / server / tturrets / units / unit_phaser.qc
index 2781f5f935dbeae89ce2c831fd95061184ec2776..090b1d400a2eb400b5f2c1933d63497069a8545f 100644 (file)
@@ -79,7 +79,7 @@ void turret_phaser_attack()
     entity beam;\r
 \r
     beam = spawn();\r
-    beam.ticrate = 0.1; //cvar("sys_ticrate");\r
+    beam.ticrate = cvar("sys_ticrate");\r
     setmodel(beam,"models/turrets/phaser_beam.md3");\r
     beam.effects = EF_LOWPRECISION;\r
     beam.solid = SOLID_NOT;\r
@@ -98,11 +98,11 @@ void turret_phaser_attack()
     self.fireflag = 1;\r
 \r
     beam.attack_finished_single = self.attack_finished_single;\r
-    self.attack_finished_single = time; // + cvar("sys_ticrate");\r
+    self.attack_finished_single = time + cvar("sys_ticrate");\r
 \r
     setattachment(beam,self.tur_head,"tag_fire");\r
 \r
-    soundat (self, trace_endpos, CHAN_PROJECTILE, "weapons/neximpact.wav", VOL_BASE, ATTN_NORM);\r
+    soundat (self, trace_endpos, CHAN_PROJECTILE, "weapons/neximpact.wav", VOL_BASE, ATTN_NORM, 0);\r
 \r
     if (self.tur_head.frame == 0)\r
         self.tur_head.frame = 1;\r