equal
deleted
inserted
replaced
189 if (v->type != 0) { |
189 if (v->type != 0) { |
190 switch (v->type) { |
190 switch (v->type) { |
191 case VEH_Train: v->cur_image = GetTrainImage(v, v->direction); break; |
191 case VEH_Train: v->cur_image = GetTrainImage(v, v->direction); break; |
192 case VEH_Road: v->cur_image = GetRoadVehImage(v, v->direction); break; |
192 case VEH_Road: v->cur_image = GetRoadVehImage(v, v->direction); break; |
193 case VEH_Ship: v->cur_image = GetShipImage(v, v->direction); break; |
193 case VEH_Ship: v->cur_image = GetShipImage(v, v->direction); break; |
194 case VEH_Aircraft: v->cur_image = GetAircraftImage(v, v->direction); break; |
194 case VEH_Aircraft: |
|
195 if (v->subtype == 0 || v->subtype == 2) { |
|
196 v->cur_image = GetAircraftImage(v, v->direction); |
|
197 if (v->next != NULL) { |
|
198 v->next->cur_image = v->cur_image; |
|
199 } |
|
200 } |
|
201 break; |
195 default: break; |
202 default: break; |
196 } |
203 } |
197 |
204 |
198 v->left_coord = INVALID_COORD; |
205 v->left_coord = INVALID_COORD; |
199 VehiclePositionChanged(v); |
206 VehiclePositionChanged(v); |