summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-08 13:50:01 +0000
committertron <tron@openttd.org>2006-04-08 13:50:01 +0000
commita0e471a025263b146744772ff16cf1ba4c2c9aed (patch)
treefc82a3f47fea2c50e82774e644d0b0ea23595e85 /station_cmd.c
parentd3f3f9ff3cbde40ea0374875360507951e4a15df (diff)
downloadopenttd-a0e471a025263b146744772ff16cf1ba4c2c9aed.tar.xz
(svn r4324) Remove the unused road stop type attribute from struct RoadStop
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 0a7c4724f..488f3772d 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -1370,7 +1370,6 @@ int32 CmdBuildRoadStop(int x, int y, uint32 flags, uint32 p1, uint32 p2)
//initialize an empty station
InitializeRoadStop(road_stop, prev, tile, st->index);
- (*currstop)->type = type;
if (!st->facilities) st->xy = tile;
st->facilities |= (type) ? FACIL_TRUCK_STOP : FACIL_BUS_STOP;
st->owner = _current_player;
@@ -2755,7 +2754,7 @@ static const SaveLoad _roadstop_desc[] = {
/* Index was saved in some versions, but this is not needed */
SLE_CONDNULL(4, 0, 8),
SLE_VAR(RoadStop,station, SLE_UINT16),
- SLE_VAR(RoadStop,type, SLE_UINT8),
+ SLE_CONDNULL(1, 0, 25),
SLE_REF(RoadStop,next, REF_ROADSTOPS),
SLE_REF(RoadStop,prev, REF_ROADSTOPS),