]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/miscfunctions.qc
rename misleading const, fix overkill
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / miscfunctions.qc
index 522840e763679681c641ccd3f271122db8012ea3..f305e4bb6dfee8e5c6d9abe80a8235ba33f0f8ea 100644 (file)
@@ -614,7 +614,7 @@ void readplayerstartcvars()
        {
                g_weapon_stay = 0; // incompatible
                start_weapons = g_weaponarena_weapons;
-               start_items |= IT_UNLIMITED_AMMO;
+               start_items |= IT_UNLIMITED_BOTH;
        }
        else
        {
@@ -634,7 +634,7 @@ void readplayerstartcvars()
                start_items |= IT_UNLIMITED_SUPERWEAPONS;
 
        if(!cvar("g_use_ammunition"))
-               start_items |= IT_UNLIMITED_AMMO;
+               start_items |= IT_UNLIMITED_BOTH;
 
        if(start_items & IT_UNLIMITED_WEAPON_AMMO)
        {