mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-18 22:41:47 +00:00
Eugh, unnecessary casting.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2554 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
28d84572d3
commit
981b6d05dd
1 changed files with 2 additions and 2 deletions
|
@ -724,7 +724,7 @@ void Key_Console (int key)
|
||||||
// than the text area to include borders I guess... weird shit.
|
// than the text area to include borders I guess... weird shit.
|
||||||
// - Molgrum
|
// - Molgrum
|
||||||
if (keydown[K_CTRL])
|
if (keydown[K_CTRL])
|
||||||
con_current->display -= ( ( (int)con_current->vislines - 22 ) / 8 );
|
con_current->display -= ( ( con_current->vislines - 22 ) / 8 );
|
||||||
else
|
else
|
||||||
con_current->display -= 2;
|
con_current->display -= 2;
|
||||||
|
|
||||||
|
@ -740,7 +740,7 @@ void Key_Console (int key)
|
||||||
// than the text area to include borders I guess... weird shit.
|
// than the text area to include borders I guess... weird shit.
|
||||||
// - Molgrum
|
// - Molgrum
|
||||||
if (keydown[K_CTRL])
|
if (keydown[K_CTRL])
|
||||||
con_current->display += ( ( (int)con_current->vislines - 22 ) / 8 );
|
con_current->display += ( ( con_current->vislines - 22 ) / 8 );
|
||||||
else
|
else
|
||||||
con_current->display += 2;
|
con_current->display += 2;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue