]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_crylink.qc
store the champion name in a global string so that we can reset the champion entity...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_crylink.qc
index e9015f5806e4ec5124ae3c9e75187e7b74b57714..44e3967b546d9840970229196257bd256d0af6d4 100644 (file)
@@ -4,8 +4,6 @@ REGISTER_WEAPON(CRYLINK, w_crylink, IT_CELLS, 6, WEP_FLAG_NORMAL | WEP_TYPE_SPLA
 #ifdef SVQC
 .float gravity;
 
-.entity realowner;
-
 .entity queuenext;
 .entity queueprev;
 
@@ -208,6 +206,8 @@ void W_Crylink_Attack (void)
 
                CSQCProjectile(proj, TRUE, (proj.cnt ? PROJECTILE_CRYLINK_BOUNCING : PROJECTILE_CRYLINK), TRUE);
 
+               other = proj; MUTATOR_CALLHOOK(EditProjectile);
+
                counter = counter + 1;
        }
 }
@@ -281,6 +281,8 @@ void W_Crylink_Attack2 (void)
 
                CSQCProjectile(proj, TRUE, (proj.cnt ? PROJECTILE_CRYLINK_BOUNCING : PROJECTILE_CRYLINK), TRUE);
 
+               other = proj; MUTATOR_CALLHOOK(EditProjectile);
+
                counter = counter + 1;
        }
 }