Changeset - r1134:142b390a913b
[Not reviewed]
master
0 1 0
bjarni - 20 years ago 2005-01-24 08:49:14
bjarni@openttd.org
(svn r1635) fix: forgot to set SetVScrollCount properly in autoreplace train GUI. It appears ok now
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
vehicle_gui.c
Show inline comments
 
@@ -381,9 +381,9 @@ static void SetupScrollStuffForReplaceWi
 
				const EngineInfo *info = &_engine_info[engine_id];
 

	
 
				if (ENGINE_AVAILABLE && RailVehInfo(engine_id)->power && e->railtype == railtype ) {
 
					count++;
 
					if ( _player_num_engines[engine_id] ) {
 
						if (sel[0]==0)  selected_id[0] = engine_id;
 
						count++;
 
						sel[0]--;
 
					}
 
					if (HASBIT(e->player_avail, _local_player)) {
0 comments (0 inline, 0 general)