great as are the differences from the later legend in the encounter with the dragon , the stinking vapours raised by his lying in the river as the cause of the miscarriage of the plan , the maddened flight of the horses , and the enspelling of nienor so that all memory of her past was lost , are already present .