]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable arc secondary for now (it's broken anyway).
authorRudolf Polzer <rpolzer@localhost>
Mon, 19 May 2014 12:42:17 +0000 (14:42 +0200)
committerRudolf Polzer <rpolzer@localhost>
Mon, 19 May 2014 12:42:17 +0000 (14:42 +0200)
qcsrc/common/weapons/w_arc.qc

index e4376e8685325fafa7fa55ee63c9f6651af932d2..976b026a102c5fcb326f57f17cd16b23b8f62388 100644 (file)
@@ -189,7 +189,7 @@ void W_Arc_Beam_Think(void)
                ||
                self.owner.deadflag != DEAD_NO
                ||
-               (!self.owner.BUTTON_ATCK && !self.beam_bursting)
+               (!self.owner.BUTTON_ATCK /* FIXME(Samual): && !self.beam_bursting */)
                ||
                self.owner.freezetag_frozen
        )
@@ -505,6 +505,12 @@ void W_Arc_Beam_Think(void)
 
 void W_Arc_Beam(float burst)
 {
+       // FIXME(Samual): remove this when overheat and burst work.
+       if (burst)
+       {
+               centerprint(self, "^4NOTE:^7 Arc burst (secondary) is not implemented yet.");
+       }
+
        // only play fire sound if 1 sec has passed since player let go the fire button
        if(time - self.beam_prev > 1)
        {
@@ -564,7 +570,7 @@ float W_Arc(float req)
                        }
                        #endif
 
-                       if(self.BUTTON_ATCK || self.BUTTON_ATCK2 || self.arc_beam.beam_bursting)
+                       if(self.BUTTON_ATCK || self.BUTTON_ATCK2 /* FIXME(Samual): || self.arc_beam.beam_bursting */)
                        {
                                if(self.BUTTON_ATCK_prev)
                                {