remove some BS casts

This commit is contained in:
Chris Forbes
2010-04-18 17:59:00 +12:00
parent f1ca0a70b7
commit 18250b8849
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ namespace OpenRA.Traits
if (world.LocalPlayer != null && !world.LocalPlayer.Shroud.IsExplored(t) || tiles[x,y].type == 0) continue;
spriteRenderer.DrawSprite(bibSprites[tiles[x, y].type - 1][tiles[x, y].image],
Game.CellSize * (float2)t, "terrain");
Game.CellSize * t, "terrain");
}
}
}