]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_rifle.qc
Unhandled weapon requests from weapon functions should return FALSE
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_rifle.qc
index 1836811ba3f98e5dac8f74f1e06c5a8b7037110a..0e7a7ca0cd00d24f422e192834589ab8126fe714 100644 (file)
@@ -259,7 +259,7 @@ float W_Rifle(float req)
                        }
                }
        }
-       return TRUE;
+       return FALSE;
 }
 #endif
 #ifdef CSQC
@@ -309,8 +309,7 @@ float W_Rifle(float req)
                        }
                }
        }
-
-       return TRUE;
+       return FALSE;
 }
 #endif
 #endif