From 2a3be1714f29480705cea331db77c7450339ebda Mon Sep 17 00:00:00 2001 From: Viktor Govako Date: Sun, 10 Oct 2021 11:25:51 +0100 Subject: [PATCH] Do not ASSERT for TransitMark PP. Signed-off-by: Viktor Govako --- map/framework.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/map/framework.cpp b/map/framework.cpp index e0c9f3e0bd..cfc0550cfd 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -2177,11 +2177,16 @@ std::optional Framework::BuildPlacePageInfo( outInfo); return outInfo; } + case UserMark::Type::TRANSIT: + { + /// @todo Add useful info in PP for TransitMark (public transport). + break; + } default: ASSERT(false, ("FindNearestUserMark returned invalid mark.")); } - SetPlacePageLocation(outInfo); + SetPlacePageLocation(outInfo); return outInfo; } }