fix holes in wall lines with a small radius (again)
This commit is contained in:
parent
0d51d6bd07
commit
aea8402383
@ -1126,7 +1126,7 @@ void Simulation::CreateWallLine(int x1, int y1, int x2, int y2, int rx, int ry,
|
|||||||
if (e >= 0.5f)
|
if (e >= 0.5f)
|
||||||
{
|
{
|
||||||
y += sy;
|
y += sy;
|
||||||
if (!(rx+ry) && ((y1<y2) ? (y<=y2) : (y>=y2)))
|
if ((y1<y2) ? (y<=y2) : (y>=y2))
|
||||||
{
|
{
|
||||||
if (reverseXY)
|
if (reverseXY)
|
||||||
CreateWalls(y, x, rx, ry, wall, cBrush);
|
CreateWalls(y, x, rx, ry, wall, cBrush);
|
||||||
|
Loading…
Reference in New Issue
Block a user