removed the debugging red squares

This commit is contained in:
Rohmer Maxime
2024-06-13 21:23:22 +02:00
parent 99186c887b
commit 2d84f3e0f2
7 changed files with 93 additions and 93 deletions
+2 -2
View File
@@ -313,8 +313,8 @@ void Refresh_Player_Area(Rectangle area,Rectangle Hitbox){
Get_Color_From_Background((Point){area.Position.X+x,(area.Position.Y+y)%SCREEN_HEIGHT},&color);
}else{
Get_Color_From_Background((Point){area.Position.X+x,(area.Position.Y+y)%SCREEN_HEIGHT},&color);
if(y == 0 || y == area.Size.Height -1 || x == 0 || x == area.Size.Width -1)
color = (Color){255,0,0};
//if(y == 0 || y == area.Size.Height -1 || x == 0 || x == area.Size.Width -1)
//color = (Color){255,0,0};
}
SendPixel(color.Red,color.Green,color.Blue);
}