split tick/render frame counters

This commit is contained in:
Chris Forbes
2009-11-04 20:20:54 +13:00
parent bb144db787
commit e8bbf051f9
2 changed files with 3 additions and 1 deletions

View File

@@ -137,6 +137,7 @@ namespace OpenRa.Game
}
static int oreTicks = 20;
public static int RenderFrame = 0;
public static void Tick()
{
@@ -163,6 +164,7 @@ namespace OpenRa.Game
}
}
++RenderFrame;
viewport.cursor = controller.ChooseCursor();
viewport.DrawRegions();
}