]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/turret/phaser.qc
Turrets: prepare for upgrade
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret / phaser.qc
index 9e162495ba640b8216bd25c366ad701a21cab128..f0b8e227daa69b91c652e8739a00115bdbb1eceb 100644 (file)
@@ -62,7 +62,7 @@ void beam_think()
 
 void spawnfunc_turret_phaser() { SELFPARAM(); if(!turret_initialize(TUR_PHASER.m_id)) remove(self); }
 
-float t_phaser(float req)
+float t_phaser(Turret thistur, float req)
 {SELFPARAM();
     switch(req)
     {
@@ -149,7 +149,7 @@ float t_phaser(float req)
 
 #endif // SVQC
 #ifdef CSQC
-float t_phaser(float req)
+float t_phaser(Turret thistur, float req)
 {
     switch(req)
     {