Changeset - r3836:162c2c73b3c1
[Not reviewed]
master
0 1 0
peter1138 - 19 years ago 2006-05-13 12:03:44
peter1138@openttd.org
(svn r4860) - NewGRF: remove a missed extern for _traininfo_vehicle_pitch
1 file changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
train_cmd.c
Show inline comments
 
@@ -440,14 +440,12 @@ int GetTrainImage(const Vehicle* v, Dire
 
	base = _engine_sprite_base[img] + ((direction + _engine_sprite_add[img]) & _engine_sprite_and[img]);
 

	
 
	if (v->cargo_count >= v->cargo_cap / 2) base += _wagon_full_adder[img];
 
	return base;
 
}
 

	
 
extern int _traininfo_vehicle_pitch;
 

	
 
void DrawTrainEngine(int x, int y, EngineID engine, uint32 image_ormod)
 
{
 
	const RailVehicleInfo *rvi = RailVehInfo(engine);
 

	
 
	int img = rvi->image_index;
 
	uint32 image = 0;
0 comments (0 inline, 0 general)