]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/machinegun.qc
s/world/NULL/
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / machinegun.qc
index 03c305ca954318b6e222500966ec365dc833a26e..331e2dd92925c8d768351e8cf572390cc6323706 100644 (file)
@@ -82,7 +82,7 @@ void W_MachineGun_MuzzleFlash_Think(entity this)
        {
                setthink(this, SUB_Remove);
                this.nextthink = time;
-               this.realowner.muzzle_flash = world;
+               this.realowner.muzzle_flash = NULL;
                return;
        }
 
@@ -90,7 +90,7 @@ void W_MachineGun_MuzzleFlash_Think(entity this)
 
 void W_MachineGun_MuzzleFlash(entity actor)
 {
-       if(actor.muzzle_flash == world)
+       if(actor.muzzle_flash == NULL)
                actor.muzzle_flash = spawn();
 
        // muzzle flash for 1st person view