Remove more unused things from CryCommon and CrySystem. (#709)
Lots of unrelated removals, I basically tried to remove everything exposed via gEnv that isn't used anymore, and following the threads found a few other things to remove also.
This commit is contained in:
@@ -783,12 +783,6 @@ void CUNIXConsole::KeyEnter()
|
||||
|
||||
if (pushCommand)
|
||||
{
|
||||
CSystem* pSystem = static_cast<CSystem*>(gEnv->pSystem);
|
||||
#if defined(CVARS_WHITELIST)
|
||||
ICVarsWhitelist* pCVarsWhitelist = pSystem->GetCVarsWhiteList();
|
||||
bool execute = (pCVarsWhitelist) ? pCVarsWhitelist->IsWhiteListed(m_InputLine, false) : true;
|
||||
if (execute)
|
||||
#endif // defined(CVARS_WHITELIST)
|
||||
{
|
||||
m_CommandQueue.push_back(m_InputLine);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user