Locked frame times; SAM, GUN, AGUN work again.

- all frames are 40ms long. (except something in the sidebar, which should really be PlayFetchIndex anyway)
    - SAM, GUN, and AGUN no longer crash the game when built. (Turreted used Mobile, which those buildings don't have)
This commit is contained in:
Bob
2009-10-20 00:57:50 +13:00
parent a7ce0f97d1
commit 707ba7d957
14 changed files with 32 additions and 31 deletions

View File

@@ -128,10 +128,10 @@ namespace OpenRa.Game
traits.Add( new Traits.Tree( treeRenderer.GetImage( tree.Image ) ) );
}
public void Tick( Game game, int dt )
public void Tick( Game game )
{
foreach( var tick in traits.WithInterface<Traits.ITick>() )
tick.Tick( this, game, dt );
tick.Tick( this, game );
}
public float2 CenterLocation;