.void(entity) predraw_qc;
void PreDraw_self()
{
- if(self.predraw_qc)
- self.predraw_qc(self);
+ SELFPARAM();
+ if (this.predraw_qc) this.predraw_qc(this);
}
void setpredraw(entity this, void(entity) pdfunc)
{SELFPARAM();
static float rainbow_last_flicker;
static vector rainbow_prev_color;
- entity e = self;
+ entity e = this;
float f, i, j;
vector v;
if(!scoreboard_active && !camera_active && intermission != 2 &&
else
view_quality = 1;
- button_attack2 = PHYS_INPUT_BUTTON_ATCK2(self);
- button_zoom = PHYS_INPUT_BUTTON_ZOOM(self);
+ button_attack2 = PHYS_INPUT_BUTTON_ATCK2(this);
+ button_zoom = PHYS_INPUT_BUTTON_ZOOM(this);
vf_size = getpropertyvec(VF_SIZE);
vf_min = getpropertyvec(VF_MIN);