mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-22 16:02:54 +02:00
create_box improvements
Boxes now have sharp corners - they fill only the specified rectangle and not 1 pixel extra on all sides.
This commit is contained in:
@@ -2712,7 +2712,7 @@ void create_box(int x1, int y1, int x2, int y2, int c)
|
||||
}
|
||||
for (j=y1; j<=y2; j++)
|
||||
for (i=x1; i<=x2; i++)
|
||||
create_parts(i, j, 1, 1, c);
|
||||
create_parts(i, j, 0, 0, c);
|
||||
}
|
||||
|
||||
int flood_parts(int x, int y, int c, int cm, int bm)
|
||||
|
Reference in New Issue
Block a user