Plaintiff Smith was the owner of certain cattle upon which plaintiff bank held a chattel mortgage. The petition alleges that the cattle were in the fields of one Butts, through or along whose lands the defendant’s railway passed; that the gate in the fence along the right-of-way was left open by defendant and had been for a long time, so that the cattle passed from Butts’ field onto the railroad track; that the greater number were killed while some were injured. Defendant filed an answer of general denial and, after *167the trial had been entered upon it, objected to any evidence being received on the ground that the petition did not state a cause of action. The trial court sustained the objection, whereupon plaintiffs took a non-suit with leave. The court afterwards sustained plaintiffs ’ motion to set aside the nonsuit, and from that order defendant has appealed.
The ground of the objection to the petition is based upon its failure to state facts which show a cause of action in plaintiffs. The law is that fences are required to be erected and gates maintained by railroad companies for the benefit of adjoining proprietors and that if the railroad company fails to erect a sufficient fence and the adjoining proprietor has a lawful fence around his field, and the animals of a stranger break over such lawful fence and thence on across the proprietor’s field onto the railroad track and are injured, the company is not liable to such owner. Berry v. Railroad, 65 Mo. 172; Harrington v. Railroad, 71 Mo. 384; Rhinehart v. Railroad, 80 S. W. 910. But if such animals are in the fields of the adjoining proprietor by permission of such proprietor; or, if they get into his field by reason of its being unfenced, or defectively fenced, and stray thence onto the railroad track which is unfenced or defectively fenced, the company is liable to the owner. The objection to the petition is that it shows a person other than the adjoining proprietor to be the owner of the cattle and fails to state, either that the field was not fenced with a lawful fence, or that the cattle were in the field by permission of Butts, the proprietor thereof.
We think the petition should have contained some such averment and lacking that, it was demurrable. But defendant answered it and relied upon an objection to evidence. The courts of this State make unfavorable comment on such practice, though it is tolerated. Hazeltine v. Smith, 154 Mo. 413; Goldsmith v. Candy Co., 85 Mo. App. 600.
*168Yet it is said that every intendment should be allowed in favor of the petition. The petition in this case alleges that Butts’ adjoining field was inclosed and defendant asks us to presume, or to assume, that Butts has done as the law requires and that his field was lawfully inclosed, i. e., by a lawful fence, in which case the petition would show no cause of action. But if we are to indulge in such line of presumption in defendant’s favor, ought we not, on the other hand, to presume that if the cattle were in Butts’ inclosed field, they were not unlawfully there; that is, were there by Butts’ permission to the plaintiffs. Seidel v. Railroad Company, 109 Mo. App. 160. If they were, defendant, as we have already stated, would be liable. We are therefore of the opinion that plaintiffs’ petition did not wholly fail to state a cause of action in the sense that it could be taken advantage of in the manner above indicated and we therefore conclude, with the trial court, that the case should be reinstated.
The judgment will be affirmed.
All concur. ■