rail_cmd.c
changeset 1330 8a67d04016ce
parent 1328 e069d2db0e4c
child 1363 01d3de5d8039
equal deleted inserted replaced
1329:a8a0d60b0a8e 1330:8a67d04016ce
  2258 		if (_leave_directions[dir] == v->direction) {
  2258 		if (_leave_directions[dir] == v->direction) {
  2259 			/* leave the depot? */
  2259 			/* leave the depot? */
  2260 			if ((v=v->next) != NULL) {
  2260 			if ((v=v->next) != NULL) {
  2261 				v->vehstatus &= ~VS_HIDDEN;
  2261 				v->vehstatus &= ~VS_HIDDEN;
  2262 				v->u.rail.track = _depot_track_mask[dir];
  2262 				v->u.rail.track = _depot_track_mask[dir];
       
  2263 				assert(v->u.rail.track);
  2263 			}
  2264 			}
  2264 		}
  2265 		}
  2265 	}
  2266 	}
  2266 
  2267 
  2267 	return 0;
  2268 	return 0;