void nexball_setstatus(entity this)
{
- this.items &= ~IT_KEY1;
+ STAT(OBJECTIVE_STATUS, this) &= ~NB_CARRYING;
if(this.ballcarried)
{
if(this.ballcarried.lifetime && (this.ballcarried.lifetime < time))
ResetBall(e);
}
else
- this.items |= IT_KEY1;
+ STAT(OBJECTIVE_STATUS, this) |= NB_CARRYING;
}
}