Declare more ints as ints
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / throwing.qc
index 6b47a88..aecaafb 100644 (file)
@@ -40,7 +40,7 @@ string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vecto
        entity oldself, wep;
        float thisammo, i;
        string s;
-       var .float ammotype = (get_weaponinfo(wpn)).ammo_field;
+       var .int ammotype = (get_weaponinfo(wpn)).ammo_field;
 
        wep = spawn();