(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.

This commit is contained in:
rubidium
2007-05-25 22:07:40 +00:00
parent c3993ee666
commit a8d9b4e040
18 changed files with 730 additions and 36 deletions

View File

@@ -192,7 +192,7 @@ static void RoadVehViewWndProc(Window *w, WindowEvent *e)
bool is_localplayer = v->owner == _local_player;
SetWindowWidgetDisabledState(w, 7, !is_localplayer);
SetWindowWidgetDisabledState(w, 8, !is_localplayer);
SetWindowWidgetDisabledState(w, 8, !is_localplayer || v->u.road.roadtype == ROADTYPE_TRAM);
SetWindowWidgetDisabledState(w, 11, !is_localplayer);
/* Disable refit button if vehicle not refittable */
SetWindowWidgetDisabledState(w, 12, !is_localplayer ||