{
if (vdist(player_dist_math, >=, this.fade_start))
alph = 0;
- else
- alph = 1;
}
else
{
/ (this.fade_end - this.fade_start), 1)) / 100.0;
}
}
- else
- {
- alph = 1;
- }
}
this.alpha = alph;
- this.drawmask = (alph <= 0) ? 0 : MASK_NORMAL;
+ if(this.alpha >= ALPHA_MIN_VISIBLE)
+ this.drawmask = MASK_NORMAL;
+ else
+ this.drawmask = 0;
}
void Ent_Wall_Draw(entity this)
}
else
this.alpha = 1;
-
- if(this.alpha >= ALPHA_MIN_VISIBLE)
- this.drawmask = MASK_NORMAL;
- else
- this.drawmask = 0;
}
void Ent_Wall_Remove(entity this)