Bigfoot was right, hope this fix works.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2570 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-08-05 01:21:18 +00:00
parent 8581240774
commit 275a3fdc63
1 changed files with 11 additions and 2 deletions

View File

@ -724,7 +724,16 @@ void Key_Console (int key)
// than the text area to include borders I guess... weird shit.
// - Molgrum
if (keydown[K_CTRL])
con_current->display -= ( ( con_current->vislines - 22 ) / 8 );
{
if (con_current->display == con_current->current)
{
con_current->display -= ( ( con_current->vislines - 22 ) / 8 );
}
else
{
con_current->display -= ( ( con_current->vislines - 30 ) / 8 );
}
}
else
con_current->display -= 2;
@ -740,7 +749,7 @@ void Key_Console (int key)
// than the text area to include borders I guess... weird shit.
// - Molgrum
if (keydown[K_CTRL])
con_current->display += ( ( con_current->vislines - 22 ) / 8 );
con_current->display += ( ( con_current->vislines - 30 ) / 8 );
else
con_current->display += 2;