diff options
author | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2017-05-31 16:48:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-31 16:48:19 +0300 |
commit | 2cd3800c03a606086c81e521c22aa6ea9ce04101 (patch) | |
tree | df21a7e61438eb391b7bf62dc05f0c4fcc2f9eab | |
parent | 7f5ea2277f7ed940ea9bf4a27224e278c9ecbf63 (diff) |
Review fixes
-rw-r--r-- | drape_frontend/traffic_generator.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drape_frontend/traffic_generator.cpp b/drape_frontend/traffic_generator.cpp index 581bc70be5..ade78d8f47 100644 --- a/drape_frontend/traffic_generator.cpp +++ b/drape_frontend/traffic_generator.cpp @@ -347,11 +347,10 @@ void TrafficGenerator::SetSimplifiedColorSchemeEnabled(bool enabled) // static traffic::SpeedGroup TrafficGenerator::CheckColorsSimplification(traffic::SpeedGroup speedGroup) { - traffic::SpeedGroup group = speedGroup; // In simplified color scheme we reduce amount of speed groups visually. if (m_simplifiedColorScheme && speedGroup == traffic::SpeedGroup::G4) - group = traffic::SpeedGroup::G3; - return group; + return traffic::SpeedGroup::G3; + return speedGroup; } // static |