mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 06:07:57 +03:00
Fix EV_StatsUpdater_UpdateStats missing parameter declaration
This commit is contained in:
parent
05b2d3529e
commit
98e725ef7b
1 changed files with 16 additions and 15 deletions
|
@ -1723,7 +1723,8 @@ void UI_DrawIntro(void)
|
|||
float frac;
|
||||
|
||||
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();
|
||||
|
@ -4258,7 +4259,7 @@ public:
|
|||
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) {
|
||||
{NULL, NULL}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue