]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_triggers.qc
Removed very stupid piece of code, renamed aw_inactive.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_triggers.qc
index 7b7fe131c347cfe8294df786a111e32fedc3b552..717a19b09f09e17165ed9de426b7179b30f05d5a 100644 (file)
@@ -105,7 +105,7 @@ void SUB_UseTargets()
                {
                        // Flag to set func_clientwall state
                        // 1 == deactivate, 2 == activate, 0 == do nothing
-                       float aw_inactive = self.antiwall_flag;
+                       float aw_flag = self.antiwall_flag;
                        for(t = world; (t = find(t, targetname, s)); )
                        if(t.use)
                        {
@@ -116,7 +116,7 @@ void SUB_UseTargets()
                                else
                                {
                                        if (t.classname == "func_clientwall" || t.classname == "func_clientillusionary")
-                                               t.antiwall_flag = aw_inactive;
+                                               t.antiwall_flag = aw_flag;
                                        self = t;
                                        other = stemp;
                                        activator = act;