cvar_t logfile = {0, "logfile","0"};
#define MAX_NOTIFYLINES 32
-// realtime time the line was generated for transparent notify lines
+// cl.time time the line was generated for transparent notify lines
float con_times[MAX_NOTIFYLINES];
int con_vislines;
if (con_notify.integer > MAX_NOTIFYLINES)
Cvar_SetValueQuick(&con_notify, MAX_NOTIFYLINES);
if (con_notify.integer > 0)
- con_times[con_current % con_notify.integer] = realtime;
+ con_times[con_current % con_notify.integer] = cl.time;
}
}
time = con_times[i % con_notify.integer];
if (time == 0)
continue;
- time = realtime - time;
+ time = cl.time - time;
if (time > con_notifytime.value)
continue;
text = con_text + (i % con_totallines)*con_linewidth;