summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 7cef040c5..98a177d7d 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -3060,7 +3060,6 @@ static void Save_ROADSTOP(void)
static void Load_ROADSTOP(void)
{
int index;
- Vehicle *v;
while ((index = SlIterateArray()) != -1) {
RoadStop *rs;
@@ -3071,10 +3070,6 @@ static void Load_ROADSTOP(void)
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++;
- }
}
extern const ChunkHandler _station_chunk_handlers[] = {