]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/hook.qc
Deprecate weapon_func
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / hook.qc
index b7f51b54c4319c66590ef942576399b2a898ddd4..5bab0d91d8b680525c23f5311f583f82a4efc1da 100644 (file)
@@ -174,7 +174,7 @@ void W_Hook_Attack2(void)
        MUTATOR_CALLHOOK(EditProjectile, self, gren);
 }
 
-bool W_Hook(int req)
+bool W_Hook(entity thiswep, int req)
 {SELFPARAM();
        float hooked_time_max, hooked_fuel;
 
@@ -334,7 +334,7 @@ bool W_Hook(int req)
 }
 #endif
 #ifdef CSQC
-bool W_Hook(int req)
+bool W_Hook(entity thiswep, int req)
 {SELFPARAM();
        switch(req)
        {