git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1316 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
(no author)
2007-07-21 03:14:48 +00:00
parent c4267e2241
commit cb7b5dedd7
4 changed files with 10 additions and 4 deletions

View File

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