From 981b6d05dd27b1a09746ce6b6403c8dff328d1b7 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Thu, 26 Jul 2007 17:06:33 +0000 Subject: [PATCH] Eugh, unnecessary casting. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2554 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/keys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/keys.c b/engine/client/keys.c index 295e80c86..77db745f6 100644 --- a/engine/client/keys.c +++ b/engine/client/keys.c @@ -724,7 +724,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 -= ( ( (int)con_current->vislines - 22 ) / 8 ); + con_current->display -= ( ( con_current->vislines - 22 ) / 8 ); else con_current->display -= 2; @@ -740,7 +740,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 += ( ( (int)con_current->vislines - 22 ) / 8 ); + con_current->display += ( ( con_current->vislines - 22 ) / 8 ); else con_current->display += 2;