]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove .frozen field (virtually unused)
authorMario <mario@smbclan.net>
Tue, 19 Jul 2016 13:15:27 +0000 (23:15 +1000)
committerMario <mario@smbclan.net>
Tue, 19 Jul 2016 13:15:27 +0000 (23:15 +1000)
qcsrc/common/mutators/mutator/nades/nades.qc
qcsrc/menu/xonotic/serverlist.qc
qcsrc/server/defs.qh

index 353baa96097b22fae19f3185d94217afc7b1db11..fd9a4226a788eacfb05401106e9fab2f25b4f1b6 100644 (file)
@@ -767,7 +767,7 @@ void nade_touch(entity this, entity toucher)
        if(autocvar_g_nades_pickup)
        if(time >= this.spawnshieldtime)
        if(!toucher.nade && this.health == this.max_health) // no boosted shot pickups, thank you very much
-       if(!toucher.frozen)
+       if(!STAT(FROZEN, toucher))
        if(CanThrowNade(toucher)) // prevent some obvious things, like dead players
        if(IS_REAL_CLIENT(toucher)) // above checks for IS_PLAYER, don't need to do it here
        {
index fc2ba573bbaa7448addcd648cde86d9a2ae421e2..46506dcfa0f71a8627a99b6cecd36037ce2fb8fa 100644 (file)
@@ -1070,7 +1070,7 @@ void XonoticServerList_drawListBoxItem(entity me, int i, vector absSize, bool is
                t = strcat(t, _("encryption:"), " ", (q ? sprintf(_("AES level %d"), q) : ZCTX(_("ENC^none"))), ", ");
                t = strcat(t, sprintf(_("mod: %s"), ((modname == "xonotic") ? ZCTX(_("MOD^Default")) : original_modname)));
                if(pure_available)
-                       t = strcat(t, sprintf(_(" (%s)"), (pure) ? _("official settings") : _("modified settings")));
+                       t = strcat(t, sprintf(" (%s)", (pure) ? _("official settings") : _("modified settings")));
                t = strcat(t, ", ");
                t = strcat(t, ((sflags >= 0 && (sflags & SERVERFLAG_PLAYERSTATS)) ? _("stats enabled") : _("stats disabled")));
                setZonedTooltip(me, t, string_null);
index d4aace83b73be41a7c854f23818a4e6040cdb423..df791a62627fa7986966e1e3d15b94334bef1a07 100644 (file)
@@ -395,7 +395,6 @@ const float ACTIVE_TOGGLE   = 3;
 .float player_blocked;
 .float weapon_blocked; // weapon use disabled
 
-.float frozen = _STAT(FROZEN); // for freeze attacks
 .float revive_progress = _STAT(REVIVE_PROGRESS);
 .float revival_time; // time at which player was last revived
 .float revive_speed; // NOTE: multiplier (anything above 1 is instaheal)