]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/miscfunctions.qc
Finish moving all Laser code to Blaster code, almost finish new settings
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / miscfunctions.qc
index c90c641b2b33f155234081abe69258a7763d31dd..8d7d38c80a5e6d5fc6cfa42cd460bbf442f8260d 100644 (file)
@@ -646,7 +646,7 @@ float want_weapon(string cvarprefix, entity weaponinfo, float allguns) // WEAPON
        else if (g_nexball)
                d = 0; // weapon is set a few lines later
        else
-               d = (i == WEP_LASER || i == WEP_SHOCKWAVE);
+               d = (i == WEP_BLASTER || i == WEP_SHOCKWAVE); // WEAPONTODO: add spawnflag for hard coded spawn weapons
 
        if(g_grappling_hook) // if possible, redirect off-hand hook to on-hand hook
                d |= (i == WEP_HOOK);