#include "wall.qh"
#include "waypointsprites.qh"
+#include "mutators/events.qh"
+
#include "../common/vehicles/unit/bumblebee.qh"
#include "../common/vehicles/cl_vehicles.qh"
#include "../common/vehicles/vehicles.qh"
/**/
MUTATOR_HOOKABLE(CSQC_ConsoleCommand, EV_CSQC_ConsoleCommand);
+/* Called when the crosshair is being updated */
+MUTATOR_HOOKABLE(UpdateCrosshair, EV_NO_ARGS);
+
#endif
#include "shownames.qh"
#include "waypointsprites.qh"
+#include "mutators/events.qh"
+
#include "../common/constants.qh"
#include "../common/mapinfo.qh"
#include "../common/nades.qh"
wcross_alpha_prev = wcross_alpha;
wcross_color_prev = wcross_color;
+ MUTATOR_CALLHOOK(UpdateCrosshair);
+
wcross_scale *= 1 - autocvar__menu_alpha;
wcross_alpha *= 1 - autocvar__menu_alpha;
wcross_size = draw_getimagesize(wcross_name) * wcross_scale;