(svn r1789) -Fix: there is no need to save the index, it is done for us
authortruelight
Fri, 04 Feb 2005 15:39:10 +0000
changeset 1285 dee20e32bffe
parent 1284 06a52178bf46
child 1286 da05e4dc75b5
(svn r1789) -Fix: there is no need to save the index, it is done for us
station_cmd.c
--- a/station_cmd.c	Fri Feb 04 15:31:30 2005 +0000
+++ b/station_cmd.c	Fri Feb 04 15:39:10 2005 +0000
@@ -2964,7 +2964,8 @@
 	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),