equal
deleted
inserted
replaced
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]; |