How did terrain affect the battle?