SHARE
TWEET

Transfusion QC muzzleflash entity leak fix

a guest Jan 11th, 2015 180 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff -r 424c0d946ec9 qblood/progs/weapons.qc
  2. --- a/qblood/progs/weapons.qc   Thu May 09 17:12:34 2013 +0200
  3. +++ b/qblood/progs/weapons.qc   Sat Jan 10 02:58:20 2015 +0000
  4. @@ -106,6 +106,7 @@
  5.         if (self.owner.weapon == IT_FLAREGUN)
  6.         {
  7.  
  8. +               remove(muzzle);
  9.         }
  10.         else if (self.owner.weapon == IT_SAWED_OFF)
  11.         {
  12. @@ -175,6 +176,7 @@
  13.                 muzzle.think = muzzle_animate;
  14.                 muzzle.th_die = muzzle_remove;
  15.         }
  16. +       else remove(muzzle);
  17.         //FIXME - add other weapons, and fix shotgun
  18.  };
RAW Paste Data
Top