Changeset - r2467:7a61c2c29275
[Not reviewed]
master
0 1 0
peter1138 - 19 years ago 2005-09-27 19:16:37
peter1138@openttd.org
(svn r2993) Fix: Reset aircraft images differently. Fixes assertion introduced in r2991.
1 file changed with 8 insertions and 1 deletions:
0 comments (0 inline, 0 general)
vehicle.c
Show inline comments
 
@@ -191,7 +191,14 @@ void AfterLoadVehicles(void)
 
				case VEH_Train: v->cur_image = GetTrainImage(v, v->direction); break;
 
				case VEH_Road: v->cur_image = GetRoadVehImage(v, v->direction); break;
 
				case VEH_Ship: v->cur_image = GetShipImage(v, v->direction); break;
 
				case VEH_Aircraft: v->cur_image = GetAircraftImage(v, v->direction); break;
 
				case VEH_Aircraft:
 
					if (v->subtype == 0 || v->subtype == 2) {
 
						v->cur_image = GetAircraftImage(v, v->direction);
 
						if (v->next != NULL) {
 
							v->next->cur_image = v->cur_image;
 
						}
 
					}
 
					break;
 
				default: break;
 
			}
 

	
0 comments (0 inline, 0 general)