more useful debug, less debug

This commit is contained in:
Chris Forbes
2010-09-21 22:42:31 +12:00
parent b0c06d4cd9
commit 9979209c34
2 changed files with 4 additions and 0 deletions

View File

@@ -120,6 +120,7 @@ namespace OpenRA.Traits.Activities
self.ActorID, string.Join(" ", path.Select(a => a.ToString()).ToArray()));
mobile.PathHash = HashList(path);
Log.Write("debug", "EvalPathHash #{0} {1}", mobile.PathHash);
return path;
}

View File

@@ -68,6 +68,9 @@ namespace OpenRA.Traits
get { return __facing; }
set
{
if (__facing == value)
return; // not interesting unless it changes
__facing = value;
Log.Write("debug", "#{0} set Facing={1}", self.ActorID, value);
Log.Write("debug", "{0}", new StackTrace());