From a62fbec243238abbfd43b91544c858be4a99a0bd Mon Sep 17 00:00:00 2001 From: asayre Date: Sat, 16 Oct 2010 19:26:26 +0000 Subject: [PATCH] --- Server/Main.cs | 10 +++++----- Server/Mobile.cs | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Server/Main.cs b/Server/Main.cs index 05d3053ba..f1e1d13c0 100644 --- a/Server/Main.cs +++ b/Server/Main.cs @@ -103,13 +103,13 @@ namespace Server internal static bool VBdotNet { get { return m_VBdotNET; } } public static List DataDirectories { get { return m_DataDirectories; } } public static Assembly Assembly { get { return m_Assembly; } set { m_Assembly = value; } } - public static Version Version { get { return m_Assembly.GetName().Version; } } + public static Version Version { get { return m_Assembly.GetName().Version; } } public static Process Process { get { return m_Process; } } public static Thread Thread { get { return m_Thread; } } public static MultiTextWriter MultiConsoleOut { get { return m_MultiConOut; } } public static readonly bool Is64Bit = (IntPtr.Size == 8); - //TODO: Upon public release of .NET 4.0, use Environment.Is64BitOperatingSystem/Process + //TODO: Upon public release of .NET 4.0, use Environment.Is64BitOperatingSystem/Process private static bool m_MultiProcessor; private static int m_ProcessorCount; @@ -457,8 +457,8 @@ namespace Server SetConsoleCtrlHandler( m_ConsoleEventHandler, true ); } - if ( GCSettings.IsServerGC ) - Console.WriteLine("Core: Server garbage collection mode enabled"); + if ( GCSettings.IsServerGC ) + Console.WriteLine("Core: Server garbage collection mode enabled"); while( !ScriptCompiler.Compile( m_Debug, m_Cache ) ) { @@ -651,7 +651,7 @@ namespace Server } catch { - Console.WriteLine( "Warning: Exception in serialization verification of type {0}", t ); + Console.WriteLine( "Warning: Exception in serialization verification of type {0}", t ); } } } diff --git a/Server/Mobile.cs b/Server/Mobile.cs index 5ccb88b20..5c30b445c 100644 --- a/Server/Mobile.cs +++ b/Server/Mobile.cs @@ -8041,10 +8041,10 @@ namespace Server { if( item.Parent is Item ) { - Item parent = item.Parent as Item; + Item parent = item.Parent as Item; - if ( !(CanSee( parent ) && parent.IsChildVisibleTo( this, item )) ) - return false; + if ( !(CanSee( parent ) && parent.IsChildVisibleTo( this, item )) ) + return false; } else if( item.Parent is Mobile ) {