diff options
-rw-r--r-- | src/client/console.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/console.c b/src/client/console.c index 8252b05..f91e527 100644 --- a/src/client/console.c +++ b/src/client/console.c @@ -964,6 +964,11 @@ void Con_RunConsole(void) con.destHeight = 0; // none visible } + if (con_speed->value <= 0) { + con.currentHeight = con.destHeight; + return; + } + if (con.currentHeight > con.destHeight) { con.currentHeight -= con_speed->value * cls.frametime; if (con.currentHeight < con.destHeight) { |