train_gui.c
changeset 601 3d15c18e3a8e
parent 588 03521b270f62
child 679 04ca2cd69420
equal deleted inserted replaced
600:40e97fbc629f 601:3d15c18e3a8e
   829 			break;
   829 			break;
   830 		case 5:	/* center main view */
   830 		case 5:	/* center main view */
   831 			ScrollMainWindowTo(v->x_pos, v->y_pos);
   831 			ScrollMainWindowTo(v->x_pos, v->y_pos);
   832 			break;
   832 			break;
   833 		case 6:	/* goto depot */
   833 		case 6:	/* goto depot */
   834 			DoCommandP(v->tile, v->index, 0, NULL, CMD_TRAIN_GOTO_DEPOT | CMD_MSG(STR_8830_CAN_T_SEND_TRAIN_TO_DEPOT));
   834 			/* TrainGotoDepot has a nice randomizer in the pathfinder, which causes desyncs... */
       
   835 			DoCommandP(v->tile, v->index, 0, NULL, CMD_TRAIN_GOTO_DEPOT | CMD_NO_TEST_IF_IN_NETWORK | CMD_MSG(STR_8830_CAN_T_SEND_TRAIN_TO_DEPOT));
   835 			break;
   836 			break;
   836 		case 7: /* force proceed */
   837 		case 7: /* force proceed */
   837 			DoCommandP(v->tile, v->index, 0, NULL, CMD_FORCE_TRAIN_PROCEED | CMD_MSG(STR_8862_CAN_T_MAKE_TRAIN_PASS_SIGNAL));
   838 			DoCommandP(v->tile, v->index, 0, NULL, CMD_FORCE_TRAIN_PROCEED | CMD_MSG(STR_8862_CAN_T_MAKE_TRAIN_PASS_SIGNAL));
   838 			break;
   839 			break;
   839 		case 8: /* reverse direction */
   840 		case 8: /* reverse direction */