This commit is contained in:
Chris Forbes
2009-11-09 21:32:28 +13:00
parent 49f48bef6a
commit 6e4a53d49a
2 changed files with 7 additions and 7 deletions

View File

@@ -51,7 +51,9 @@ namespace OpenRa.Game.Graphics
foreach (Region region in regions)
region.Draw(renderer);
cursorRenderer.DrawSprite(cursor.GetSprite((int)cursorFrame), mousePos + Location - cursor.GetHotspot(), 0);
var c = (Game.worldRenderer.region.Contains(mousePos)) ? cursor : Cursor.Default;
cursorRenderer.DrawSprite(c.GetSprite((int)cursorFrame), mousePos + Location - c.GetHotspot(), 0);
cursorRenderer.Flush();
renderer.EndFrame();