diff options
author | tron <tron@openttd.org> | 2004-11-27 21:28:51 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-27 21:28:51 +0000 |
commit | 6b9a744b2da0525d1226c0ef38fa67d6d1c6f2c2 (patch) | |
tree | 7cba17eb661dda88ff0576b67b4d831b1cea4a4a | |
parent | 12d6d679b0de53387aa927a3f9e2a7518969277e (diff) | |
download | openttd-6b9a744b2da0525d1226c0ef38fa67d6d1c6f2c2.tar.xz |
(svn r843) Remove redundant variable assignments and function calls
-rw-r--r-- | console.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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) |