1
0
Fork 0

(svn r6243) -Codechange: made SortVehicleList() static as well since that one is not used in any other files either (Thanks Tron for pointing this out)

release/0.5
bjarni 2006-08-30 19:49:46 +00:00
parent 2a07ed9d46
commit 1983c07955
2 changed files with 1 additions and 3 deletions

View File

@ -198,7 +198,7 @@ static void BuildVehicleList(vehiclelist_d* vl, int type, PlayerID owner, Statio
vl->flags |= VL_RESORT;
}
void SortVehicleList(vehiclelist_d *vl)
static void SortVehicleList(vehiclelist_d *vl)
{
if (!(vl->flags & VL_RESORT)) return;

View File

@ -17,8 +17,6 @@ void InitializeVehiclesGuiList(void);
void RebuildVehicleLists(void);
void ResortVehicleLists(void);
void SortVehicleList(struct vehiclelist_d *vl);
#define PERIODIC_RESORT_DAYS 10
#define SORT_BY_UNSORTED 0
extern const StringID _vehicle_sort_listing[];