fix dumb naming in WorldRenderer
This commit is contained in:
@@ -124,11 +124,11 @@ namespace OpenRA.Graphics
|
|||||||
|
|
||||||
bounds.Offset((int)Game.viewport.Location.X, (int)Game.viewport.Location.Y);
|
bounds.Offset((int)Game.viewport.Location.X, (int)Game.viewport.Location.Y);
|
||||||
|
|
||||||
var foos = world.FindUnits(
|
var actors = world.FindUnits(
|
||||||
new float2(bounds.Left, bounds.Top),
|
new float2(bounds.Left, bounds.Top),
|
||||||
new float2(bounds.Right, bounds.Bottom));
|
new float2(bounds.Right, bounds.Bottom));
|
||||||
|
|
||||||
var renderables = foos.SelectMany(a => a.Render())
|
var renderables = actors.SelectMany(a => a.Render())
|
||||||
.OrderBy(r => r, comparer);
|
.OrderBy(r => r, comparer);
|
||||||
|
|
||||||
DrawSpriteList(bounds, renderables);
|
DrawSpriteList(bounds, renderables);
|
||||||
|
|||||||
Reference in New Issue
Block a user