pass world into CheckSync. don't pass world into Widget.DrawInner
This commit is contained in:
@@ -100,7 +100,7 @@ namespace OpenRA.Graphics
|
||||
renderer.BeginFrame(scrollPosition);
|
||||
wr.Draw();
|
||||
|
||||
Widget.DoDraw(world);
|
||||
Widget.DoDraw();
|
||||
|
||||
var cursorName = Widget.RootWidget.GetCursorOuter(Viewport.LastMousePos) ?? "default";
|
||||
var c = new Cursor(cursorName);
|
||||
|
||||
@@ -105,7 +105,7 @@ namespace OpenRA.Graphics
|
||||
world.OrderGenerator.RenderAfterWorld(this, world);
|
||||
|
||||
if (world.LocalPlayer != null)
|
||||
world.LocalPlayer.Shroud.Draw();
|
||||
world.LocalPlayer.Shroud.Draw( this );
|
||||
|
||||
Game.Renderer.DisableScissor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user