]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_weapons.qc
it compiles now :D
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_weapons.qc
index 10ae0f44e2875351400b59275d4f66865067dd6f..4df59a09afde775e7e73cca9fb0be6e248ad1205 100644 (file)
@@ -319,7 +319,9 @@ float W_IsWeaponThrowable(float w)
                return 0;
        if (g_nexball && w == WEP_GRENADE_LAUNCHER)
                return 0;
-
+    if(w == 0)
+        return 0;
+       
        wa = W_AmmoItemCode(w);
        if(WEPSET_CONTAINS_AW(start_weapons, w))
        {