From 1624a1584292df7cedf57d1078ce3bd714de362a Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Fri, 12 Dec 2014 13:24:34 -0800 Subject: [PATCH] redundant function --- include/console.h | 1 - main/console.c | 7 ------- main/game.c | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/include/console.h b/include/console.h index 4c0df096..1f3873e8 100644 --- a/include/console.h +++ b/include/console.h @@ -118,7 +118,6 @@ int CON_Resize(int x, int y, int w, int h); void con_init(void); void con_init_gfx(void); -void con_resize(void); void con_printf(int level, char *fmt, ...); /* Console CVars */ diff --git a/main/console.c b/main/console.c index 6b2c16b9..46116241 100644 --- a/main/console.c +++ b/main/console.c @@ -1106,13 +1106,6 @@ void con_init_gfx(void) } -void con_resize(void) -{ - CON_Font(SMALL_FONT, gr_getcolor(63, 63, 63), -1); - CON_Resize(0, 0, SWIDTH, SHEIGHT / 2); - con_background(CON_BG); -} - /* Print a message to the console */ void con_printf(int priority, char *fmt, ...) { diff --git a/main/game.c b/main/game.c index 0fabb23a..f653ed47 100644 --- a/main/game.c +++ b/main/game.c @@ -660,7 +660,7 @@ int set_screen_mode(int sm) else FontHires = 0; } - con_resize(); + con_init_gfx(); break; #ifdef EDITOR -- 2.39.2