Fix editor

This commit is contained in:
Paul Chote
2011-02-11 17:28:18 +13:00
parent db770eb997
commit e761ce4998
3 changed files with 4 additions and 6 deletions

View File

@@ -27,8 +27,7 @@ namespace OpenRA.Editor
= new TileReference<byte, byte>
{
type = (byte)Resource.Info.ResourceType,
index = (byte)random.Next(Resource.Info.SpriteNames.Length),
image = (byte)Resource.Value
index = (byte)Resource.Value
};
var ch = new int2((surface.GetBrushLocation().X) / Surface.ChunkSize,