@@ -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.
*/