Squelch almost all compile errors

This commit is contained in:
alzeih
2010-05-14 01:00:28 +12:00
parent 798c4cb2d3
commit 43ad339ffe
8 changed files with 19 additions and 18 deletions

View File

@@ -138,15 +138,15 @@ namespace OpenRA
public void Tick()
{
var sw = new Stopwatch();
//var sw = new Stopwatch();
foreach (var a in actors) a.Tick();
Queries.WithTraitMultiple<ITick>().Do( x =>
{
var t = sw.ElapsedTime();
//var t = sw.ElapsedTime();
x.Trait.Tick( x.Actor );
var dt = sw.ElapsedTime() - t;
//var dt = sw.ElapsedTime() - t;
// if( dt > 0.001 )
// Log.Write( "expensive tick: {0}->{1}", x.Actor.Info.Name, x.Trait.GetType() );
} );