mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
Make con_speed 0 instant.
Nice for recording, and should give more accurate timedemos.
This commit is contained in:
parent
d73b5045d8
commit
15484956f7
1 changed files with 10 additions and 6 deletions
|
@ -731,6 +731,7 @@ setup_console (void)
|
|||
lines = 0;
|
||||
}
|
||||
|
||||
if (con_speed->value) {
|
||||
if (lines < con_data.lines) {
|
||||
con_data.lines -= max (0.2, con_speed->value) * *con_data.frametime;
|
||||
con_data.lines = max (con_data.lines, lines);
|
||||
|
@ -738,6 +739,9 @@ setup_console (void)
|
|||
con_data.lines += max (0.2, con_speed->value) * *con_data.frametime;
|
||||
con_data.lines = min (con_data.lines, lines);
|
||||
}
|
||||
} else {
|
||||
con_data.lines = lines;
|
||||
}
|
||||
if (con_data.lines >= r_data->vid->conheight - r_data->lineadj)
|
||||
r_data->scr_copyeverything = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue