void Casing_Draw(entity this)
{
- if (this.flags & FL_ONGROUND)
+ if (IS_ONGROUND(this))
{
this.angles_x = 0;
this.angles_z = 0;
if (thisforce.z < 0)
thisforce.z = 0;
this.velocity = this.velocity + thisforce + '0 0 100';
- this.flags &= ~FL_ONGROUND;
+ UNSET_ONGROUND(this);
}
NET_HANDLE(casings, bool isNew)