Mercurial > hg > openttd
diff src/station_cmd.cpp @ 5837:e18480817d2c draft
(svn r8403) -Fix (r8402): Forgot to remove an enum
author | celestar <celestar@openttd.org> |
---|---|
date | Thu, 25 Jan 2007 11:11:43 +0000 |
parents | 0b68d5a508a2 |
children | a4805866f6fc |
line wrap: on
line diff
--- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -1369,7 +1369,7 @@ std::auto_ptr<RoadStop> rs_auto_delete(road_stop); if (st != NULL && - GetNumRoadStopsInStation(st, RoadStop::BUS) + GetNumRoadStopsInStation(st, RoadStop::TRUCK) >= ROAD_STOP_LIMIT) { + GetNumRoadStopsInStation(st, RoadStop::BUS) + GetNumRoadStopsInStation(st, RoadStop::TRUCK) >= RoadStop::LIMIT) { return_cmd_error(type ? STR_3008B_TOO_MANY_TRUCK_STOPS : STR_3008A_TOO_MANY_BUS_STOPS); }