]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_models.qc
Removed very stupid piece of code, renamed aw_inactive.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_models.qc
index d00b4de29bf2fba84c69a9fb0d39b768ce12fb9c..101f16796a27c3f565404ce3f509708f7e3945f0 100644 (file)
@@ -37,17 +37,11 @@ void g_clientmodel_use(void)
        if (self.antiwall_flag == 1)
        {
                self.inactive = 1;
+               self.solid = SOLID_NOT;
        }
        else if (self.antiwall_flag == 2)
        {
                self.inactive = 0;
-       }
-       if (self.inactive)
-       {
-               self.solid = SOLID_NOT;
-       }
-       else
-       {
                self.solid = self.default_solid;
        }
        g_clientmodel_setcolormaptoactivator();