Xonotic
cl_status_effects.qc File Reference
+ Include dependency graph for cl_status_effects.qc:

Go to the source code of this file.

Functions

 MUTATOR_HOOKFUNCTION (status_effects, HUD_Powerups_add)
 

Function Documentation

◆ MUTATOR_HOOKFUNCTION()

MUTATOR_HOOKFUNCTION ( status_effects  ,
HUD_Powerups_add   
)

Definition at line 19 of file cl_status_effects.qc.

References autocvar__hud_configure.

20 {
21  if(!g_statuseffects && !autocvar__hud_configure) return;
22 
23  // NOTE: the passed entity may be null here if we're in configure mode
24  StatusEffects_tick(g_statuseffects);
25 }
bool autocvar__hud_configure
Definition: hud_config.qh:3