]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_hook.qc
allow weapon files to define functions in csqc too
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_hook.qc
index 7b4eba094df0d558318942fbb8879947102f6097..ffec6ac71241f82e6b7a4451bb43d9124cc2d956 100644 (file)
@@ -1,6 +1,7 @@
 #ifdef REGISTER_WEAPON
 REGISTER_WEAPON(HOOK, w_hook, IT_CELLS|IT_FUEL, 0, WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, 0, "hookgun", "hook", "Grappling Hook");
 #else
+#ifdef SVQC
 .float dmg;
 .float dmg_edge;
 .float dmg_radius;
@@ -249,3 +250,6 @@ float w_hook(float req)
        return TRUE;
 };
 #endif
+#ifdef CSQC
+#endif
+#endif