Merge branch 'master' into jgrpp
# Conflicts: # src/base_media_func.h # src/cargopacket.h # src/gfxinit.cpp # src/industry_cmd.cpp # src/window_gui.h
This commit is contained in:
@@ -146,7 +146,7 @@ class ReplaceVehicleWindow : public Window {
|
||||
GUIEngineList list;
|
||||
|
||||
for (const Engine *e : Engine::IterateType(type)) {
|
||||
if (!draw_left && !this->show_hidden_engines && e->IsHidden(_local_company)) continue;
|
||||
if (!draw_left && !this->show_hidden_engines && e->IsVariantHidden(_local_company)) continue;
|
||||
EngineID eid = e->index;
|
||||
switch (type) {
|
||||
case VEH_TRAIN:
|
||||
|
Reference in New Issue
Block a user