src/oldloader.cpp
changeset 6322 3d191e6e89bc
parent 6222 50e47f803549
child 6254 abc6ad7c035c
child 6340 35c260560a1b
equal deleted inserted replaced
6321:62564548351b 6322:3d191e6e89bc
   621 	_current_station_id = num;
   621 	_current_station_id = num;
   622 
   622 
   623 	if (!LoadChunk(ls, st, station_chunk))
   623 	if (!LoadChunk(ls, st, station_chunk))
   624 		return false;
   624 		return false;
   625 
   625 
   626 	if (IsValidStation(st)) {
   626 	if (st->IsValid()) {
   627 		if (st->train_tile) {
   627 		if (st->train_tile) {
   628 			/* Calculate the trainst_w and trainst_h */
   628 			/* Calculate the trainst_w and trainst_h */
   629 			uint w = GB(_old_platforms, 3, 3);
   629 			uint w = GB(_old_platforms, 3, 3);
   630 			uint h = GB(_old_platforms, 0, 3);
   630 			uint h = GB(_old_platforms, 0, 3);
   631 			st->trainst_w = w;
   631 			st->trainst_w = w;