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
commit093ae2b4b477e4cc55fd95e0f157c6eb61fa657a (patch)
tree85cb2346f21e7c4cd1c1d3022cbab86886952f01
parent10adda0d739203e0933d89d5c7d3bcb10b67fe51 (diff)
downloadopenttd-093ae2b4b477e4cc55fd95e0f157c6eb61fa657a.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),