]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/turret/machinegun.qc
Turrets: prepare for upgrade
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret / machinegun.qc
index 48a200cd7ead77d5c166f62836cd58e2886974e7..07c641ee788e6bb0f7abe9c1978cff689a78e2a5 100644 (file)
@@ -18,7 +18,7 @@ void spawnfunc_turret_machinegun() { SELFPARAM(); if(!turret_initialize(TUR_MACH
 
 void W_MachineGun_MuzzleFlash(void);
 
-float t_machinegun(float req)
+float t_machinegun(Turret thistur, float req)
 {SELFPARAM();
     switch(req)
     {
@@ -60,7 +60,7 @@ float t_machinegun(float req)
 
 #endif // SVQC
 #ifdef CSQC
-float t_machinegun(float req)
+float t_machinegun(Turret thistur, float req)
 {
     switch(req)
     {