Mercurial > hg > openttd
diff road_cmd.c @ 22:7a15e52a1c8f draft
(svn r23) -Some omments on the code (blathijs)
author | darkvater <darkvater@openttd.org> |
---|---|
date | Wed, 11 Aug 2004 22:07:08 +0000 (2004-08-11) |
parents | c8795721b2d5 |
children | 927ba896b4a5 |
line wrap: on
line diff
--- a/road_cmd.c +++ b/road_cmd.c @@ -7,6 +7,10 @@ #include "town.h" #include "gfx.h" +/* When true, GetTrackStatus for roads will treat roads under reconstruction + * as normal roads instead of impassable. This is used when detecting whether + * a road can be removed. This is of course ugly, but I don't know a better + * solution just like that... */ static bool _road_special_gettrackstatus; void RoadVehEnterDepot(Vehicle *v);