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();
{
// 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)
{
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;