train_gui.c
changeset 2630 7206058a7e82
parent 2611 36aa372eeb34
child 2639 eeaefdabfdfd
equal deleted inserted replaced
2629:78f87f273407 2630:7206058a7e82
   146 	}
   146 	}
   147 }
   147 }
   148 
   148 
   149 void CcBuildLoco(bool success, TileIndex tile, uint32 p1, uint32 p2)
   149 void CcBuildLoco(bool success, TileIndex tile, uint32 p1, uint32 p2)
   150 {
   150 {
   151 	Vehicle *v;
   151 	const Vehicle* v;
   152 
   152 
   153 	if (!success)
   153 	if (!success)
   154 		return;
   154 		return;
   155 
   155 
   156 	v = GetVehicle(_new_train_id);
   156 	v = GetVehicle(_new_train_id);