more useful debug, less debug
This commit is contained in:
@@ -120,6 +120,7 @@ namespace OpenRA.Traits.Activities
|
|||||||
self.ActorID, string.Join(" ", path.Select(a => a.ToString()).ToArray()));
|
self.ActorID, string.Join(" ", path.Select(a => a.ToString()).ToArray()));
|
||||||
|
|
||||||
mobile.PathHash = HashList(path);
|
mobile.PathHash = HashList(path);
|
||||||
|
Log.Write("debug", "EvalPathHash #{0} {1}", mobile.PathHash);
|
||||||
|
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,6 +68,9 @@ namespace OpenRA.Traits
|
|||||||
get { return __facing; }
|
get { return __facing; }
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
|
if (__facing == value)
|
||||||
|
return; // not interesting unless it changes
|
||||||
|
|
||||||
__facing = value;
|
__facing = value;
|
||||||
Log.Write("debug", "#{0} set Facing={1}", self.ActorID, value);
|
Log.Write("debug", "#{0} set Facing={1}", self.ActorID, value);
|
||||||
Log.Write("debug", "{0}", new StackTrace());
|
Log.Write("debug", "{0}", new StackTrace());
|
||||||
|
|||||||
Reference in New Issue
Block a user