(svn r843) Remove redundant variable assignments and function calls
This commit is contained in:
		@@ -287,21 +287,16 @@ void IConsoleSwitch(void)
 | 
				
			|||||||
			_iconsole_mode = ICONSOLE_CLOSED;
 | 
								_iconsole_mode = ICONSOLE_CLOSED;
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	MarkWholeScreenDirty();
 | 
					 | 
				
			||||||
	MarkAllViewportsDirty(0, 0, _screen.width, _screen.height);
 | 
					 | 
				
			||||||
	_video_driver->make_dirty(0, 0, _screen.width, _screen.height);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void IConsoleClose(void)
 | 
					void IConsoleClose(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	if (_iconsole_mode == ICONSOLE_OPENED) IConsoleSwitch();
 | 
						if (_iconsole_mode == ICONSOLE_OPENED) IConsoleSwitch();
 | 
				
			||||||
	_iconsole_mode = ICONSOLE_CLOSED;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void IConsoleOpen(void)
 | 
					void IConsoleOpen(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	if (_iconsole_mode == ICONSOLE_CLOSED) IConsoleSwitch();
 | 
						if (_iconsole_mode == ICONSOLE_CLOSED) IConsoleSwitch();
 | 
				
			||||||
	_iconsole_mode = ICONSOLE_OPENED;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void IConsoleCmdBufferAdd(const char* cmd)
 | 
					void IConsoleCmdBufferAdd(const char* cmd)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user