ship_gui.c
changeset 543 946badd71033
parent 538 24fdb517fbe5
child 555 02df8a1b7f33
equal deleted inserted replaced
542:de27e74b11bd 543:946badd71033
   299 	w = AllocateWindowDesc(&_ship_details_desc);
   299 	w = AllocateWindowDesc(&_ship_details_desc);
   300 	w->window_number = veh;
   300 	w->window_number = veh;
   301 	w->caption_color = v->owner;
   301 	w->caption_color = v->owner;
   302 }
   302 }
   303 
   303 
   304 static void CcBuildShip(bool success, uint tile, uint32 p1, uint32 p2)
   304 void CcBuildShip(bool success, uint tile, uint32 p1, uint32 p2)
   305 {
   305 {
   306 	Vehicle *v;
   306 	Vehicle *v;
   307 	if (!success) return;
   307 	if (!success) return;
   308 
   308 
   309 	v = &_vehicles[_new_ship_id];
   309 	v = &_vehicles[_new_ship_id];