}
HUD_Write("\n");
}
- MUTATOR_CALLHOOK(HUD_WriteCvars);
+ MUTATOR_CALLHOOK(HUD_WriteCvars, fh);
HUD_Write("menu_sync\n"); // force the menu to reread the cvars, so that the dialogs are updated
/**/
MUTATOR_HOOKABLE(DrawInfoMessages, EV_DrawInfoMessages);
-MUTATOR_HOOKABLE(HUD_WriteCvars, EV_NO_ARGS);
+/** Called when drawing info messages, allows adding new info messages */
+#define EV_HUD_WriteCvars(i, o) \
+ /** file */ i(float, MUTATOR_ARGV_0_float) \
+ /**/
+MUTATOR_HOOKABLE(HUD_WriteCvars, EV_HUD_WriteCvars);