equal
deleted
inserted
replaced
813 w->caption_color = player; |
813 w->caption_color = player; |
814 |
814 |
815 /* Hide the widgets that we will not use in this window |
815 /* Hide the widgets that we will not use in this window |
816 * Some windows contains actions only fit for the owner */ |
816 * Some windows contains actions only fit for the owner */ |
817 if (player == _local_player) { |
817 if (player == _local_player) { |
818 HideWindowWidget(w, VLW_WIDGET_OTHER_PLAYER_FILLER); |
818 w->HideWidget(VLW_WIDGET_OTHER_PLAYER_FILLER); |
819 w->SetWidgetDisabledState(VLW_WIDGET_AVAILABLE_VEHICLES, window_type != VLW_STANDARD); |
819 w->SetWidgetDisabledState(VLW_WIDGET_AVAILABLE_VEHICLES, window_type != VLW_STANDARD); |
820 } else { |
820 } else { |
821 w->SetWidgetsHiddenState(true, |
821 w->SetWidgetsHiddenState(true, |
822 VLW_WIDGET_AVAILABLE_VEHICLES, |
822 VLW_WIDGET_AVAILABLE_VEHICLES, |
823 VLW_WIDGET_MANAGE_VEHICLES, |
823 VLW_WIDGET_MANAGE_VEHICLES, |