Skip to content

Commit

Permalink
Revert "- Try to use Line instead of Rect"
Browse files Browse the repository at this point in the history
This reverts commit aa6c2a3.
  • Loading branch information
SnoeGit committed Sep 11, 2023
1 parent 555869a commit e21c9c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source Code/Main_Core.bb
Original file line number Diff line number Diff line change
Expand Up @@ -6741,11 +6741,11 @@ Function RenderGUI%()
Local DrawX% = x + (PlayerX - x2) * (24 * MenuScale), DrawY% = y - (PlayerZ - z2) * (24 * MenuScale)
Color(30, 30, 30)
If CurrMapGrid\Grid[(x2 + 1) + (z2 * MapGridSize)] = MapGrid_NoTile Then Line(DrawX - (12 * MenuScale), DrawY - (12 * MenuScale), DrawX - (12 * MenuScale), DrawY + (12 * MenuScale))
If CurrMapGrid\Grid[(x2 - 1) + (z2 * MapGridSize)] = MapGrid_NoTile Then Line(DrawX + (12 * MenuScale), DrawY - (12 * MenuScale), DrawX + (12 * MenuScale), DrawY + (12 * MenuScale))
If CurrMapGrid\Grid[(x2 + 1) + (z2 * MapGridSize)] = MapGrid_NoTile Then Rect(DrawX - (12 * MenuScale), DrawY - (12 * MenuScale), 1, 24 * MenuScale)
If CurrMapGrid\Grid[(x2 - 1) + (z2 * MapGridSize)] = MapGrid_NoTile Then Rect(DrawX + (12 * MenuScale), DrawY - (12 * MenuScale), 1, 24 * MenuScale)
If CurrMapGrid\Grid[x2 + ((z2 - 1) * MapGridSize)] = MapGrid_NoTile Then Line(DrawX - (12 * MenuScale), DrawY - (12 * MenuScale), DrawX + (12 * MenuScale), DrawY - (12 * MenuScale))
If CurrMapGrid\Grid[x2 + ((z2 + 1) * MapGridSize)] = MapGrid_NoTile Then Line(DrawX - (12 * MenuScale), DrawY + (12 * MenuScale), DrawX + (12 * MenuScale), DrawY + (12 * MenuScale))
If CurrMapGrid\Grid[x2 + ((z2 - 1) * MapGridSize)] = MapGrid_NoTile Then Rect(DrawX - (12 * MenuScale), DrawY - (12 * MenuScale), 24 * MenuScale, 1)
If CurrMapGrid\Grid[x2 + ((z2 + 1) * MapGridSize)] = MapGrid_NoTile Then Rect(DrawX - (12 * MenuScale), DrawY + (12 * MenuScale), 24 * MenuScale, 1)
EndIf
EndIf
Next
Expand Down

0 comments on commit e21c9c8

Please # to comment.