Fix EV_StatsUpdater_UpdateStats missing parameter declaration

This commit is contained in:
smallmodel 2024-11-03 18:28:00 +01:00
parent 05b2d3529e
commit 98e725ef7b
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -1723,7 +1723,8 @@ void UI_DrawIntro(void)
float frac; float frac;
frac = Q_clamp_float((cls.realtime - intro_stage.starttime) / intro_stage.fadetime, 0, 1); frac = Q_clamp_float((cls.realtime - intro_stage.starttime) / intro_stage.fadetime, 0, 1);
color[0] = color[1] = color[2] = intro_stage.alpha_start + frac * (intro_stage.alpha_end - intro_stage.alpha_start); color[0] = color[1] = color[2] =
intro_stage.alpha_start + frac * (intro_stage.alpha_end - intro_stage.alpha_start);
} }
swidth = view3d->getFrame().getMaxX(); swidth = view3d->getFrame().getMaxX();
@ -4258,7 +4259,7 @@ public:
void UpdateStats(Event *ev); void UpdateStats(Event *ev);
}; };
Event EV_StatsUpdater_UpdateStats; Event EV_StatsUpdater_UpdateStats("updatestats", EV_DEFAULT, NULL, NULL, "Update the stats on the missionLog");
CLASS_DECLARATION(Listener, StatsUpdater, NULL) { CLASS_DECLARATION(Listener, StatsUpdater, NULL) {
{NULL, NULL} {NULL, NULL}