low power slowdown

This commit is contained in:
Chris Forbes
2009-12-08 20:56:15 +13:00
parent bcea1f01b0
commit 0dbf1bf027
5 changed files with 24 additions and 3 deletions

View File

@@ -56,9 +56,9 @@ namespace OpenRa.Game
string group = Rules.UnitCategory[ order.TargetString ];
var ui = Rules.UnitInfo[ order.TargetString ];
var time = ui.Cost
* .8f /* Game.BuildSpeed */ /* todo: country-specific build speed bonus */
* ( 25 * 60 ) /* frames per min */ /* todo: build acceleration, if we do that */
/ 1000;
* Rules.General.BuildSpeed /* todo: country-specific build speed bonus */
* (25 * 60) /* frames per min */ /* todo: build acceleration, if we do that */
/ 1000;
time = .08f * time; /* temporary hax so we can build stuff fast for test */