summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-02-04 15:39:10 +0000
committertruelight <truelight@openttd.org>2005-02-04 15:39:10 +0000
commit52ce9d21cc6f17a589884cda407279074f907b45 (patch)
tree85cb2346f21e7c4cd1c1d3022cbab86886952f01
parentd3aa3043e374c4d40ce45d6c654cb7bff88e7f7c (diff)
downloadopenttd-52ce9d21cc6f17a589884cda407279074f907b45.tar.xz
(svn r1789) -Fix: there is no need to save the index, it is done for us
-rw-r--r--station_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index a29400a67..8290a5bb8 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2964,7 +2964,8 @@ static const byte _roadstop_desc[] = {
SLE_VAR(RoadStop,xy, SLE_UINT32),
SLE_VAR(RoadStop,used, SLE_UINT8),
SLE_VAR(RoadStop,status, SLE_UINT8),
- SLE_VAR(RoadStop,index, SLE_UINT32),
+ /* Index was saved in some versions, but this is not needed */
+ SLE_CONDARR(NullStruct,null,SLE_FILE_U32 | SLE_VAR_NULL, 1, 0, 8),
SLE_VAR(RoadStop,station, SLE_UINT16),
SLE_VAR(RoadStop,type, SLE_UINT8),