From a03283d9e172e2295330990f98e2fe6e63004073 Mon Sep 17 00:00:00 2001 From: Nicolas Hake Date: Mon, 16 Mar 2015 19:28:11 +0100 Subject: [PATCH] =?UTF-8?q?C++14=20=C2=A77?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit simple-declaration: decl-specifier-seq(opt) init-declarator-list ; Notice something? The semicolon at the end doesn't have (opt). --- src/landscape/fow/C4FoWLightSection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/landscape/fow/C4FoWLightSection.cpp b/src/landscape/fow/C4FoWLightSection.cpp index 898e7b299..0ef4d77eb 100644 --- a/src/landscape/fow/C4FoWLightSection.cpp +++ b/src/landscape/fow/C4FoWLightSection.cpp @@ -781,7 +781,7 @@ std::list C4FoWLightSection::CalculateTriangles(C4FoWRegion * tri.fadeRY = tri.fanRY + d * dy; // Do the fades cross? - const double fadeCrossEta = 0.01 + const double fadeCrossEta = 0.01; if ((tri.fadeRX - lightRX) / (tri.fadeRY - lightRY) < (tri.fadeLX - lightRX) / (tri.fadeLY - lightRY) + fadeCrossEta) {