]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/spawning.qc
Minor cleanups
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / spawning.qc
index dc7b110e2cc2857da219b18290871de34cc515f0..99049217f3a12e8a854ddd7f1dd6f45e0f32fc6c 100644 (file)
@@ -156,12 +156,9 @@ void weapon_defaultspawnfunc(entity this, Weapon wpn)
                this.glowmod = colormapPaletteColor(this.owner.clientcolors & 0x0F, true);
 
        GameItem def = wpn.m_pickup;
-       _StartItem(
-               this,
-               this.itemdef = def,
-               this.respawntime, // defaultrespawntime
-               this.respawntimejitter // defaultrespawntimejitter
-       );
+       this.itemdef = def;
+       _StartItem(this, this.itemdef, this.respawntime, this.respawntimejitter);
+
        #if 0 // WEAPONTODO
        if (this.modelindex) { // don't precache if this was removed
                wpn.wr_init(wpn);