src/road_cmd.cpp
changeset 6702 85c63eaaa0de
parent 6699 d2f35126c1a6
child 6710 fd3ade8bf17a
--- a/src/road_cmd.cpp	Sat May 26 12:34:25 2007 +0000
+++ b/src/road_cmd.cpp	Sat May 26 13:00:52 2007 +0000
@@ -52,7 +52,7 @@
 	if (_game_mode == GM_EDITOR || remove == ROAD_NONE) return true;
 
 	/* Only do the special processing for actual players. */
-	if (!IsValidPlayer(_current_player)) return true;
+	if (rt == ROADTYPE_ROAD && !IsValidPlayer(_current_player)) return true;
 
 	/* Only do the special processing if the road is owned
 	 * by a town */