From 6b9a744b2da0525d1226c0ef38fa67d6d1c6f2c2 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 27 Nov 2004 21:28:51 +0000 Subject: [PATCH] (svn r843) Remove redundant variable assignments and function calls --- console.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/console.c b/console.c index fe7be247f5..9b62c885ca 100644 --- a/console.c +++ b/console.c @@ -287,21 +287,16 @@ void IConsoleSwitch(void) _iconsole_mode = ICONSOLE_CLOSED; break; } - MarkWholeScreenDirty(); - MarkAllViewportsDirty(0, 0, _screen.width, _screen.height); - _video_driver->make_dirty(0, 0, _screen.width, _screen.height); } void IConsoleClose(void) { if (_iconsole_mode == ICONSOLE_OPENED) IConsoleSwitch(); - _iconsole_mode = ICONSOLE_CLOSED; } void IConsoleOpen(void) { if (_iconsole_mode == ICONSOLE_CLOSED) IConsoleSwitch(); - _iconsole_mode = ICONSOLE_OPENED; } void IConsoleCmdBufferAdd(const char* cmd)