station_cmd.c
branch0.5
changeset 5418 ee2e44854454
parent 5394 58afc8e5ff3e
child 5421 96c2e24bfe30
--- a/station_cmd.c	Wed Jan 17 01:19:09 2007 +0000
+++ b/station_cmd.c	Wed Jan 17 01:23:50 2007 +0000
@@ -3133,7 +3133,6 @@
 static void Load_ROADSTOP(void)
 {
 	int index;
-	Vehicle *v;
 
 	while ((index = SlIterateArray()) != -1) {
 		RoadStop *rs;
@@ -3144,10 +3143,6 @@
 		rs = GetRoadStop(index);
 		SlObject(rs, _roadstop_desc);
 	}
-
-	FOR_ALL_VEHICLES(v) {
-		if (v->type == VEH_Road && v->u.road.slot != NULL) v->u.road.slot->num_vehicles++;
-	}
 }
 
 const ChunkHandler _station_chunk_handlers[] = {