File diff r23521:26cb73a2624c → r23522:1fb564b1efa6
src/newgrf_engine.cpp
Show inline comments
 
@@ -1269,13 +1269,14 @@ void CommitVehicleListOrderChanges()
 
	uint index = 0;
 
	for (const EngineID *it = ordering.Begin(); it != idend; ++it, ++index) {
 
		Engine::Get(*it)->list_position = index;
 
	}
 

	
 
	/* Clear out the queue */
 
	_list_order_changes.Reset();
 
	_list_order_changes.clear();
 
	_list_order_changes.shrink_to_fit();
 
}
 

	
 
/**
 
 * Fill the grf_cache of the given vehicle.
 
 * @param v The vehicle to fill the cache for.
 
 */