Description:
Fix cursor rendering.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -679,8 +679,8 | |||
|
679 | 679 | #region draw_cursor |
|
680 | 680 | //drawTileAt((int)this.mouseGrid.X, (int)this.mouseGrid.Y, 2, 1, 0.85f); //between tiles and gridlines |
|
681 | 681 | |
|
682 |
if (MathUtils.Between |
|
|
683 |
&& MathUtils.Between |
|
|
682 | if (MathUtils.Between(this.mouseGrid.X, 0, this.simulation.map.MapWidth) | |
|
683 | && MathUtils.Between(this.mouseGrid.Y, 0, this.simulation.map.MapHeight)) | |
|
684 | 684 | { |
|
685 | 685 | Tile.OutlineSquare(batch, this.mouseGrid.X, this.mouseGrid.Y, Color.Yellow, 1); |
|
686 | 686 | } |
You need to be logged in to leave comments.
Login now