generalising selection, issuing of orders

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1283 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
bob
2007-07-16 01:01:45 +00:00
parent 74fb71b253
commit acba1dc8e4
9 changed files with 56 additions and 14 deletions

View File

@@ -10,7 +10,7 @@ namespace OpenRa.Game
{
public Tree(TreeReference r, TreeCache renderer, Map map)
{
location = 24 * (new float2(r.Location) - new float2(map.XOffset, map.YOffset));
renderLocation = 24 * (new float2(r.Location) - new float2(map.XOffset, map.YOffset));
currentImages = new Sprite[] { renderer.GetImage(r.Image) };
}