From 6cfad6f2abe351705efd857cb42c06b7301af26a Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 20 Sep 2010 22:52:28 +1200 Subject: [PATCH] stacktrace in SetLocation --- OpenRA.Game/Traits/Mobile.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Game/Traits/Mobile.cs b/OpenRA.Game/Traits/Mobile.cs index a4b725260f..95c40987ef 100644 --- a/OpenRA.Game/Traits/Mobile.cs +++ b/OpenRA.Game/Traits/Mobile.cs @@ -15,6 +15,7 @@ using System.Linq; using OpenRA.Effects; using OpenRA.Traits.Activities; using OpenRA.FileFormats; +using System.Diagnostics; namespace OpenRA.Traits { @@ -101,6 +102,7 @@ namespace OpenRA.Traits AddInfluence(); Log.Write("debug", "#{0} set location = {1} {2}", self.ActorID, from, to); + Log.Write("debug", "{0}", new StackTrace()); } UnitInfluence uim;