From de3d433eadc3b60d3dbc50ff749348f0e95d8532 Mon Sep 17 00:00:00 2001 From: Markus Pargmann Date: Sun, 17 Jun 2012 12:50:44 +0200 Subject: [PATCH] Airport sign size 3 bugfix --- simgear/scene/tgdb/apt_signs.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/simgear/scene/tgdb/apt_signs.cxx b/simgear/scene/tgdb/apt_signs.cxx index 837096b2..15b4c4e0 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 <= 3) { 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 <= 3) { 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 <= 3) { sign_height = HT[size < 0 ? 3 : size]; newmat = "FramedSign"; newtype = 'L'; -- 2.39.5