From ca06643ed5544400aaa59a32309ab0455a25d761 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 18 Apr 2017 11:15:36 +0000
Subject: [PATCH] Update tram types (HK459-460, HW159, HW164)

---
 common.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common.js b/common.js
index 6d3f6f9..89a8a60 100644
--- a/common.js
+++ b/common.js
@@ -49,12 +49,12 @@
 		id = 216;
 	}
 	
-	if(101 <= id && id <= 173) {
+	if(101 <= id && id <= 174) {
 		prefix = 'HW';
 		type = 'E1';
 		low = 0;
 		
-		if((108 <= id && id <= 113) || id == 127 || id == 131 || id == 132 || id == 134 || (137 <= id && id <= 139) || (148 <= id && id <= 150) || (153 <= id && id <= 166) || id == 161) {
+		if((108 <= id && id <= 113) || id == 127 || id == 131 || id == 132 || id == 134 || (137 <= id && id <= 139) || (148 <= id && id <= 150) || (153 <= id && id <= 155)) {
 			prefix = 'RW';
 		}
 	} else if(201 <= id && id <= 293) {
@@ -86,7 +86,7 @@
 		type = 'N8S-NF';
 		low = 0;
 		
-		if((451 <= id && id <= 455) || id == 462) {
+		if((451 <= id && id <= 456) || id == 459 || id == 460 || id == 462) {
 			type = 'N8C-NF';
 			low = 1;
 		}
@@ -117,7 +117,7 @@
 			prefix = 'HG';
 		}
 	} else if(id === 999) {
-		prefix = 'HX';
+		prefix = 'HG';
 		type = '405N-Kr';
 		low = 1;
 	} else {

--
Gitblit v1.9.1