Loading

Paste #pmp6dybbk

  1. ClearedObjectArea *IHaveNoIdeaFunction(TileIndex findclearedobject_tile, TileIndex coa_first_tile, TileIndex coa_area_tile, uint coa_area_w, uint coa_area_h)
  2. {
  3.     ClearedObjectArea *coa = FindClearedObject(findclearedobject_tile);
  4.     if (coa == NULL) {
  5.         coa = _cleared_object_areas.Append();
  6.         coa->first_tile = coa_first_tile;
  7.         coa->area = TileArea(coa_area_tile, coa_area_w, coa_area_h);
  8.     }
  9. }

Comments