Adding tcc command to AxiosCommandConsole to toggle the ability to control
the camera using the arrow keys Adding the ability to disable commands in XNACC from AxiosCommandConsole
This commit is contained in:
		@@ -2310,12 +2310,15 @@ namespace XNACC.Console
 | 
			
		||||
			{
 | 
			
		||||
				string	cvarName = cmdLine[ 1 ].ToLowerInvariant();
 | 
			
		||||
				
 | 
			
		||||
                // Isn't this preventing us from modifying a cvar?
 | 
			
		||||
                // -- Nathan Adams [adamsna@datanethost.net] - 6/3/2012
 | 
			
		||||
				if( m_cVars.TryGetValue( cvarName, out cvar ) )
 | 
			
		||||
				{
 | 
			
		||||
					AddErrorToLog( "CVar " + cmdLine[ 1 ] + 
 | 
			
		||||
							" already exists with a value of: " + cvar.Value ?? "(null" );
 | 
			
		||||
					return;
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				if( cmdLine.Length == 4 )
 | 
			
		||||
				{
 | 
			
		||||
					string	typeName = cmdLine[ 2 ];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user