Changeset - r7421:53c166cee8a2
[Not reviewed]
master
0 2 0
rubidium - 17 years ago 2007-08-06 15:00:32
rubidium@openttd.org
(svn r10814) -Fix [FS#1103]/Codechange: allow trams to be reverse manually, even though there is no track to do so.
2 files changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/roadveh_cmd.cpp
Show inline comments
 
@@ -533,7 +533,6 @@ CommandCost CmdTurnRoadVeh(TileIndex til
 
	if (v->type != VEH_ROAD || !CheckOwnership(v->owner)) return CMD_ERROR;
 

	
 
	if (v->vehstatus & VS_STOPPED ||
 
			v->u.road.roadtype == ROADTYPE_TRAM ||
 
			v->u.road.crashed_ctr != 0 ||
 
			v->breakdown_ctr != 0 ||
 
			v->u.road.overtaking != 0 ||
src/roadveh_gui.cpp
Show inline comments
 
@@ -277,7 +277,7 @@ static void RoadVehViewWndProc(Window *w
 
		bool is_localplayer = v->owner == _local_player;
 

	
 
		SetWindowWidgetDisabledState(w,  7, !is_localplayer);
 
		SetWindowWidgetDisabledState(w,  8, !is_localplayer || v->u.road.roadtype == ROADTYPE_TRAM);
 
		SetWindowWidgetDisabledState(w,  8, !is_localplayer);
 
		SetWindowWidgetDisabledState(w, 11, !is_localplayer);
 
		/* Disable refit button if vehicle not refittable */
 
		SetWindowWidgetDisabledState(w, 12, !is_localplayer ||
0 comments (0 inline, 0 general)