Changeset - r3492:f3be1b3022a4
[Not reviewed]
master
0 1 0
peter1138 - 19 years ago 2006-04-10 11:14:33
peter1138@openttd.org
(svn r4343) [Autoreplace] Fix drawing of train list for outdated engines. Fixes FS#106
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
vehicle_gui.c
Show inline comments
 
@@ -472,7 +472,7 @@ static void train_engine_drawing_loop(in
 

	
 

	
 
		colour = *sel == 0 ? 0xC : 0x10;
 
		if (!(ENGINE_AVAILABLE && show_outdated && RailVehInfo(i)->power && e->railtype == railtype)) {
 
		if (!(ENGINE_AVAILABLE && show_outdated && RailVehInfo(i)->power && IsCompatibleRail(e->railtype, railtype))) {
 
			if ((!IsCompatibleRail(e->railtype, railtype) && show_compatible)
 
				|| (e->railtype != railtype && !show_compatible)
 
				|| !(rvi->flags & RVI_WAGON) != is_engine ||
0 comments (0 inline, 0 general)