If you know where there is a pitfall at a location, have a flying unit stand there. Your ground units now can walk across the location without falling, as long as the flying unit remains there. Note: This does not affect pitfalls that are triggered before flying units go there.