src/economy.cpp
changeset 6248 e4a2ed7e5613
parent 6247 7d81e3a5d803
child 6259 471b91a4b1d8
equal deleted inserted replaced
6247:7d81e3a5d803 6248:e4a2ed7e5613
   899 
   899 
   900 	if (dirty)
   900 	if (dirty)
   901 		InvalidateWindow(WC_SUBSIDIES_LIST, 0);
   901 		InvalidateWindow(WC_SUBSIDIES_LIST, 0);
   902 }
   902 }
   903 
   903 
   904 typedef struct FoundRoute {
   904 struct FoundRoute {
   905 	uint distance;
   905 	uint distance;
   906 	CargoID cargo;
   906 	CargoID cargo;
   907 	void *from;
   907 	void *from;
   908 	void *to;
   908 	void *to;
   909 } FoundRoute;
   909 };
   910 
   910 
   911 static void FindSubsidyPassengerRoute(FoundRoute *fr)
   911 static void FindSubsidyPassengerRoute(FoundRoute *fr)
   912 {
   912 {
   913 	Town *from,*to;
   913 	Town *from,*to;
   914 
   914