From: Markus Pargmann Date: Mon, 18 Jun 2012 08:00:29 +0000 (+0200) Subject: Signs change <= to < X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e0df014acfb2f0f6259377392225ae05059b7f97;p=simgear.git Signs change <= to < --- diff --git a/simgear/scene/tgdb/apt_signs.cxx b/simgear/scene/tgdb/apt_signs.cxx index 15b4c4e0..3bd313aa 100644 --- a/simgear/scene/tgdb/apt_signs.cxx +++ b/simgear/scene/tgdb/apt_signs.cxx @@ -373,7 +373,7 @@ void AirportSignBuilder::addSign(const SGGeod& pos, double heading, const std::s n = n.substr(0, 2); } if (n == "@Y") { - if (size <= 3) { + if (size < 4) { sign_height = HT[size < 0 ? 3 : size]; newmat = "YellowSign"; newtype = 'Y'; @@ -381,7 +381,7 @@ void AirportSignBuilder::addSign(const SGGeod& pos, double heading, const std::s } } else if (n == "@R") { - if (size <= 3) { + if (size < 4) { sign_height = HT[size < 0 ? 3 : size]; newmat = "RedSign"; newtype = 'R'; @@ -389,7 +389,7 @@ void AirportSignBuilder::addSign(const SGGeod& pos, double heading, const std::s } } else if (n == "@L") { - if (size <= 3) { + if (size < 4) { sign_height = HT[size < 0 ? 3 : size]; newmat = "FramedSign"; newtype = 'L';