CSQC_common_hud();
// crosshair goes VERY LAST
- if(!scoreboard_active && !camera_active && intermission != 2 &&
+ if(!scoreboard_active && !camera_active && intermission != 2 &&
spectatee_status != -1 && hud == HUD_NORMAL && !csqcplayer.viewloc &&
!HUD_MinigameMenu_IsOpened() )
{
*/
for(entity e = NULL; (e = nextent(e)); ) if (e.draw) {
- SELFCALL(e, e.draw());
- SELFCALL_DONE();
+ WITH(entity, self, e, e.draw());
}
addentities(MASK_NORMAL | MASK_ENGINE | MASK_ENGINEVIEWMODELS);
// no zoom reticle while dead
reticle_type = 0;
}
- else if(WEP_ACTION(activeweapon, WR_ZOOMRETICLE) && autocvar_cl_reticle_weapon)
+ else if(_WEP_ACTION(activeweapon, WR_ZOOMRETICLE) && autocvar_cl_reticle_weapon)
{
if(reticle_image != "") { reticle_type = 2; }
else { reticle_type = 0; }
// draw 2D entities
for (entity e = NULL; (e = nextent(e)); ) if (e.draw2d) {
- SELFCALL(e, e.draw2d());
- SELFCALL_DONE();
+ WITH(entity, self, e, e.draw2d());
}
Draw_ShowNames_All();