delivered the opinion of the court:
Plaintiff sued defendant railroad company, alleging wilful and wanton acts of negligence. Plaintiff appeals the decision of the trial court granting defendant’s motion to dismiss pursuant to section 2—615 of the Code of Civil Procedure (Code) (Ill. Rev. Stat. 1987, ch. 110, par. 2—615). The issue in this case is whether the complaint sufficiently states a cause of action against the defendant so as to survive a motion to dismiss under section 2—615 of the Code. We hold it does, and we reverse.
On March 14, 1986, plaintiff Allen Eaton filed a complaint alleging negligence against the defendant, Baltimore & Ohio Railroad Company (Railroad). The complaint alleged the Railroad owed a duty of ordinary care to the plaintiff; and that it failed to (1) warn plaintiff of the trains in the area, (2) provide a safe walkway, (3) keep proper lookout, (4) provide audible warning of oncoming trains, (5) reduce speed, and (6) provide clear and proper signs as to the location of the tracks and train. It is further alleged that, as a proximate result of these failures of duty, the train hit plaintiff, causing him to sustain various injuries. Defendant filed a motion to dismiss or strike, specifically contending there was no legal duty for the Railroad to warn plaintiff of the train, provide a safe walkway, or provide clear or proper signs. The motion to dismiss was granted, and plaintiff was given leave to file an amended complaint. His first-amended complaint, not in the record on appeal, was also dismissed, with leave to file a second-amended complaint.
The second-amended complaint alleges plaintiff was employed by A.E. Staley Manufacturing Company (Company); the Railroad operated a switching area located within the Company grounds; the plaintiff and hundreds of other employees of the Company customarily traversed to and from work across this switching area at the time of the injury in question; and defendant routinely permitted and never prohibited such action, and knew of the practice. The plaintiff then realleged the breach of duties alleged in the first complaint.
On March 27, 1989, the court dismissed the second-amended complaint with leave to amend. The court held this complaint failed to allege facts sufficient to support a finding of wilful and wanton misconduct, and the complaint was therefore insufficient at law. Plaintiff’s third-amended complaint alleged the same facts but also alleged plaintiff wilfully and wantonly breached the duties alleged in the prior pleadings. The trial court again granted the defendant’s motion to dismiss with leave to amend. The fourth-amended complaint alleged violation of the same duties as before, but in such a way that plaintiff alleged the defendant was careless and exhibited a reckless disregard for the safety of the plaintiff. The plaintiff additionally alleged defendant’s failure to provide a flagman. The trial court granted defendant’s section 2 — 615 motion to dismiss, in that plaintiff’s complaint failed to allege facts to support a finding of wilful and wanton conduct on the part of defendant, thereby making the complaint substantially insufficient at law.
The plaintiff contends his complaint alleges legally sufficient facts and duties so that it should not have been dismissed on the pleadings. “Motions to dismiss under section 2—615 of the [Code] [citation] admit all well-pleaded facts and attack only the legal sufficiency of a complaint. *** ‘[No] cause of action should be dismissed on the pleadings unless it clearly appears that no set of facts can be proved to sustain it.’ Golden Rule Life Insurance Co. v. Mathias (1980),
Plaintiff and defendant both acknowledge this cause of action arose prior to the effective date of the Premises Liability Act, which abolished the common law distinction between invitees and licensees (Ill. Rev. Stat. 1987, ch. 80, par. 302), and should not be applied retroactively. (Zimring v. Wendrow (1985),
“A railway company owes no duty to a person walking along its tracks without its invitation, either expressed or implied, except to refrain from wantonly or willfully injuring him, and to use reasonable care to avoid injury to him after he is discovered to be in peril; and it makes no difference in that respect whether he is a trespasser, [or] a mere licensee ***.” (Illinois Central R.R. Co. v. Eicher (1903),202 Ill. 556 , 560,67 N.E. 376 , 378.)
Habitual acquiescence in a trespass may well constitute a license if the tolerance is pronounced enough to be tantamount to permission; yet evén in such a case, the plaintiff will not be able to recover by showing mere negligence, but only by showing wilful and wanton conduct. (Trout v. Bank of Belleville (1976),
The Illinois Supreme Court has held:
“ ‘[T]he law casts no duty upon a railroad company to keep a lookout for trespassers on its track in the open country, remote from public crossings, cities and towns. *** Exceptions to this general rule are (1) places where the railroad company has permitted the public to travel along or over its track for a considerable period of time and a considerable number of people have availed themselves of such use, and (2) where the railroad runs through populous portions of a city, where people frequently go upon or pass over the track with knowledge of the company or for such a length of time that the company is chargeable with knowledge.’ ” (Shine v. Wabash R.R. Co. (1956),8 Ill. App. 2d 521 , 532-33,132 N.E.2d 41 , 46, quoting Joy v. Chicago, Burlington & Quincy R.R. Co. (1914),263 Ill. 465 , 468,105 N.E. 330 , 331.)
In Shine, the plaintiff was struck by defendant when he was 22 months old, as he crawled over the tracks, and the railroad employees initially mistook him for a small dog. (Shine,
In Barry v. Elgin, Joliet & Eastern Ry. Co. (1971),
“[A]s a matter of law the defendant Railway owed a duty of ordinary care to prevent injury to persons working in the vicinity of its switch-track who might foreseeably be injured by movement of the cars propelled by the Railway engine even though that switch-track was actually operated within premises owned by another corporation.” Barry,132 Ill. App. 2d at 378 ,270 N.E.2d at 157 .
Here, plaintiff does not allege he was working in the switching area at the time of the accident, or that a duty of ordinary care was owed to him by defendant. By way of analogy, however, the holding in Barry suggests that when an employee is injured by a train operating within his work area, the railroad owes at least a duty to refrain from wilful and wanton negligence toward those the railroad could reasonably foresee might be injured in the vicinity of the switch track, including those who, with the railroad’s knowledge, cross the switch track on their way from the work area. The Barry court found defendant railroad did owe a duty of care, but denied plaintiff’s recovery because plaintiff was found contributorily negligent. Since Illinois is no longer a contributory negligence State, this does not bar plaintiff’s suit.
As discussed previously, the court dismissed the fourth-amended complaint because it failed to allege facts to support a finding of wilful and wanton conduct. Yet in Shine, the plaintiff alleged a careless driving of the train, failure to give warning signals, operation of the train at a high rate of speed, failure to stop or slow the train, and permitting the right-of-way to be covered with tall weeds, later amending the complaint to allege the injury was wilfully and wantonly inflicted. Such allegations were held to allege a legal duty so as to support a cause of negligence and survive a motion to dismiss. Shine,
In Barry, the allegation of the failure to maintain a lookout, give adequate warning, and use adequate systems of control for moving cars was held to support a negligence cause of action. (Barry,
Further, in deciding whether an act is wilful and wanton under such circumstances involved in this case:
“111 will is not a necessary element of a wanton act, *** it is not essential that actual knowledge of the presence of specific persons or property is shown in fixing liability. It is only the knowledge of the probability of the presence of persons who might be injured, which becomes pertinent to characterize the act [citation].” (McDaniels v. Terminal R.R. Association (1939),302 Ill. App. 332 , 346,23 N.E.2d 785 , 791.)
(See also Spence v. Commonwealth Edison Co. (1975),
The defendant additionally relies on two cases it contends demonstrate it was under no legal duty alleged in the plaintiff’s complaint. In Pearce v. Illinois Central Gulf R.R. Co. (1980),
We find plaintiff’s fourth-amended complaint sufficiently alleges a viable cause of action and breach of duties by the defendant sounding in wilful and wanton negligence, and conclude the trial court erred in dismissing this pleading under section 2—615 of the Code. This court, therefore, reverses and remands.
Reversed and remanded.
KNECHT, P.J., and GREEN, J., concur.
