]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/vehicle/spiderbot.qc
s/world/NULL/
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / vehicle / spiderbot.qc
index 63924987e22917ede4c2de0e72a48d292df9b839..d41e81ce6154c0d3bc5c57bfc8b877d891e47d0f 100644 (file)
@@ -346,7 +346,7 @@ void spiderbot_exit(entity this, int eject)
                if(e.owner == this.owner)
                {
                        e.realowner = this.owner;
-                       e.owner = world;
+                       e.owner = NULL;
                }
                e = e.chain;
        }
@@ -389,7 +389,7 @@ void spiderbot_exit(entity this, int eject)
        }
 
        antilag_clear(this.owner, CS(this.owner));
-       this.owner = world;
+       this.owner = NULL;
 }
 
 void spiderbot_headfade(entity this)
@@ -475,7 +475,7 @@ void spiderbot_blowup(entity this)
        SUB_SetFade(g1, time, min(this.respawntime, 10));
        SUB_SetFade(g2, time, min(this.respawntime, 10));
 
-       RadiusDamage (this, this.enemy, 250, 15, 250, world, world, 250, DEATH_VH_SPID_DEATH.m_id, world);
+       RadiusDamage (this, this.enemy, 250, 15, 250, NULL, NULL, 250, DEATH_VH_SPID_DEATH.m_id, NULL);
 
        this.alpha = this.tur_head.alpha = this.gun1.alpha = this.gun2.alpha = -1;
        this.movetype = MOVETYPE_NONE;