aboutsummaryrefslogtreecommitdiffstats
path: root/src/backend/hafas/parse/leg.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/hafas/parse/leg.nim')
-rw-r--r--src/backend/hafas/parse/leg.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/hafas/parse/leg.nim b/src/backend/hafas/parse/leg.nim
index 230d718..2a966eb 100644
--- a/src/backend/hafas/parse/leg.nim
+++ b/src/backend/hafas/parse/leg.nim
@@ -48,11 +48,11 @@ proc mkParseLeg*(common: CommonData): proc =
if remarks.len > 0:
result.remarks = some(remarks.map(mkParseMsg(common)))
- elif typeStr == "WALK" or typeStr == "TRSF":
+ elif typeStr == "WALK":
result.isWalking = true
result.distance = some(l{"gis"}{"dist"}.getInt())
- elif typeStr == "DEVI":
+ elif typeStr == "TRSF" or typeStr == "DEVI":
result.isTransfer = true
else: