]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/spawning.qc
Add a function to check if the player is dual wielding
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / spawning.qc
index d33fdaac0d0a4c6592d6935056e3c117686a4d69..d47351cb37a727aab87f100d2ccb61ddd98a5824 100644 (file)
@@ -30,7 +30,7 @@ void weapon_defaultspawnfunc(entity this, Weapon e)
 {
        Weapon wpn = e;
        e = wpn = wpn.m_spawnfunc_hookreplace(wpn, this);
-       //this.classname = wpn.m_canonical_spawnfunc;
+       this.classname = wpn.m_canonical_spawnfunc;
        if (!Item_IsLoot(this) && !this.m_isreplaced)
        {
                if (e.spawnflags & WEP_FLAG_MUTATORBLOCKED)