Trace each shadow from a contact point
Look under shoes, chairs or furniture to see how dark shapes connect to the original people. Note where a common light direction makes the two shadows merge.
Choose a restoration strategy
Keep the nearby original shadow from the source if it can be isolated. Edit the target’s lit figure and its own contact shadow together where possible. At shared shadow edges, use a careful local blend instead of painting one uniform dark patch.
Review where the figures meet the ground
Inspect the kept shadow at high zoom, then view the whole image. Look for light appearing between a shoe and its original shadow, hard duplicate outlines or an implausible second light direction.
Pass condition
The unselected person still casts the expected shadow, and the new figure sits on the ground under the same visible light.