File diff r3491:10ed78e15d31 → r3492:f3be1b3022a4
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 ||