changeset 6478 | 817c29f1882b |
parent 6320 | 5fc5a089b147 |
child 6479 | b228a94a1832 |
6477:c0add302a009 | 6478:817c29f1882b |
---|---|
690 |
690 |
691 if (!ShipAccelerate(v)) return; |
691 if (!ShipAccelerate(v)) return; |
692 |
692 |
693 BeginVehicleMove(v); |
693 BeginVehicleMove(v); |
694 |
694 |
695 if (GetNewVehiclePos(v, &gp)) { |
695 GetNewVehiclePos(v, &gp); |
696 if (gp.old_tile == gp.new_tile) { |
|
696 /* Staying in tile */ |
697 /* Staying in tile */ |
697 if (IsShipInDepot(v)) { |
698 if (IsShipInDepot(v)) { |
698 gp.x = v->x_pos; |
699 gp.x = v->x_pos; |
699 gp.y = v->y_pos; |
700 gp.y = v->y_pos; |
700 } else { |
701 } else { |