settings.c
changeset 2006 9d5d7fd428c2
parent 1941 ca268f8837df
child 2008 cdb444f6d43c
--- a/settings.c	Sun Jul 03 11:31:03 2005 +0000
+++ b/settings.c	Sun Jul 03 13:02:54 2005 +0000
@@ -977,6 +977,8 @@
 	{"npf_water_curve_penalty",     SDT_UINT32, (void*)(NPF_TILE_LENGTH / 4),   &_patches.npf_water_curve_penalty,      NULL},
 	/* This is the penalty for road, same as for rail. */
 	{"npf_road_curve_penalty",      SDT_UINT32, (void*)(1),                     &_patches.npf_road_curve_penalty,       NULL},
+	/* This is the penalty for level crossings, for both road and rail vehicles */
+ 	{"npf_crossing_penalty",        SDT_UINT32, (void*)(3 * NPF_TILE_LENGTH),   &_patches.npf_crossing_penalty,         NULL},
 
 	{NULL,                          0,          NULL,                           NULL,                                   NULL}
 };