src/station_gui.cpp
changeset 8857 7593af4962e6
parent 8787 41d9d5adbe87
child 8964 84f2e443b7be
equal deleted inserted replaced
8856:6b8adda843c9 8857:7593af4962e6
   386 				const Station *st = sl->sort_list[i];
   386 				const Station *st = sl->sort_list[i];
   387 				int x;
   387 				int x;
   388 
   388 
   389 				assert(st->xy != 0);
   389 				assert(st->xy != 0);
   390 
   390 
   391  				/* Do not do the complex check HasStationInUse here, it may be even false
   391 				/* Do not do the complex check HasStationInUse here, it may be even false
   392 				 * when the order had been removed and the station list hasn't been removed yet */
   392 				 * when the order had been removed and the station list hasn't been removed yet */
   393 				assert(st->owner == owner || (st->owner == OWNER_NONE && !st->IsBuoy()));
   393 				assert(st->owner == owner || (st->owner == OWNER_NONE && !st->IsBuoy()));
   394 
   394 
   395 				SetDParam(0, st->index);
   395 				SetDParam(0, st->index);
   396 				SetDParam(1, st->facilities);
   396 				SetDParam(1, st->facilities);