]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/w_hook.qc
Even more floats to bool/int
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / w_hook.qc
index bf49a66b25b8d226a7e0fc40d69c8aedc9dd828c..1c05c23d69c2ca84bf3a3a4abcc2abb884d36f34 100644 (file)
@@ -173,7 +173,7 @@ void W_Hook_Attack2(void)
        other = gren; MUTATOR_CALLHOOK(EditProjectile);
 }
 
-float W_Hook(float req)
+bool W_Hook(int req)
 {
        float hooked_time_max, hooked_fuel;
 
@@ -336,7 +336,7 @@ float W_Hook(float req)
 }
 #endif
 #ifdef CSQC
-float W_Hook(float req)
+bool W_Hook(int req)
 {
        switch(req)
        {