]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_porto.qc
Partly fix compile (BUT WAIT, THERE'S MORE! :D)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_porto.qc
index ff26ff990636e70f8a891d03412d6f43120fe959..093757b23814255726c2aad951b45e901f284972 100644 (file)
@@ -293,7 +293,7 @@ float w_porto(float req)
                        self.BUTTON_ATCK = FALSE;
                        self.BUTTON_ATCK2 = FALSE;
                        if(!autocvar_g_balance_porto_secondary)
-                               if(bot_aim(autocvar_g_balance_porto_primary_speed, 0, autocvar_g_balance_grenadelauncher_primary_lifetime, FALSE))
+                               if(bot_aim(autocvar_g_balance_porto_primary_speed, 0, autocvar_g_balance_mortar_primary_lifetime, FALSE)) // WEAPONTODO
                                        self.BUTTON_ATCK = TRUE;
                                        
                        return TRUE;