src/ship_cmd.cpp
changeset 9000 0eee16b3074d
parent 8962 1b263c69799d
child 9008 de19c73e405f
equal deleted inserted replaced
8999:43af94f84514 9000:0eee16b3074d
   592 	if (v->breakdown_ctr != 0) {
   592 	if (v->breakdown_ctr != 0) {
   593 		if (v->breakdown_ctr <= 2) {
   593 		if (v->breakdown_ctr <= 2) {
   594 			HandleBrokenShip(v);
   594 			HandleBrokenShip(v);
   595 			return;
   595 			return;
   596 		}
   596 		}
   597 		v->breakdown_ctr--;
   597 		if (!v->current_order.IsType(OT_LOADING)) v->breakdown_ctr--;
   598 	}
   598 	}
   599 
   599 
   600 	if (v->vehstatus & VS_STOPPED) return;
   600 	if (v->vehstatus & VS_STOPPED) return;
   601 
   601 
   602 	ProcessOrders(v);
   602 	ProcessOrders(v);