From 96b13b168db72ac01585954418ab01903fe4d42e Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Thu, 20 Jun 2019 19:53:54 +0000 Subject: [PATCH] Use both VehiclePositions.pb and VehiclePositions_T.pb --- lib/vehicle_types.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vehicle_types.php b/lib/vehicle_types.php index 70f2eef..7a799d9 100644 --- a/lib/vehicle_types.php +++ b/lib/vehicle_types.php @@ -7,7 +7,7 @@ return [ 'num' => $line[2] . str_pad($id, 3, '0', STR_PAD_LEFT), 'type' => $line[3], - 'low' => isset($line[4]) ? $line[4] : $defaultLow, + 'low' => (int)(isset($line[4]) ? $line[4] : $defaultLow), ]; } } @@ -41,7 +41,7 @@ 314 322 RF GT8S 0 323 323 RF GT8N 1 324 324 RF GT8S 0 -325 328 RF GT8N 1 +325 329 RF GT8N 1 401 440 HL EU8N 1 451 456 HK N8C-NF 0 457 461 HK N8S-NF 1 -- Gitblit v1.9.1