and a bit more
This commit is contained in:
@@ -29,10 +29,11 @@ namespace OpenRa.Game.Traits
|
|||||||
var startIndex = (size == 2) ? SmallBibStart : LargeBibStart;
|
var startIndex = (size == 2) ? SmallBibStart : LargeBibStart;
|
||||||
|
|
||||||
|
|
||||||
for (int i = 0; i < 2*size; i++)
|
for (int i = 0; i < 2 * size; i++)
|
||||||
Game.map.MapTiles[
|
{
|
||||||
self.Location.X + i % size + Game.map.Offset.X,
|
var p = self.Location + Game.map.Offset + new int2(i % size, i / size + bibOffset);
|
||||||
self.Location.Y + i / size + Game.map.Offset.Y + bibOffset].smudge = (byte)(i + startIndex);
|
Game.map.MapTiles[p.X, p.Y].smudge = (byte)(i + startIndex);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user