From aea840238375fac4c4f36ff4e965e30cf7e85e50 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Wed, 8 Jan 2014 14:32:59 -0500 Subject: [PATCH] fix holes in wall lines with a small radius (again) --- src/simulation/Simulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 53145c686..33f832ddd 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -1126,7 +1126,7 @@ void Simulation::CreateWallLine(int x1, int y1, int x2, int y2, int rx, int ry, if (e >= 0.5f) { y += sy; - if (!(rx+ry) && ((y1=y2))) + if ((y1=y2)) { if (reverseXY) CreateWalls(y, x, rx, ry, wall, cBrush);