Change: Cargo flow legend only shows defined cargo. (#10872)

This removes the large mostly-empty grid of cargo buttons when not using a complex industry set.

(cherry picked from commit 702194cfef)
This commit is contained in:
PeterN
2023-05-29 06:48:43 +01:00
committed by Jonathan G Rennison
parent 08030e1b8a
commit ac420f208c
2 changed files with 35 additions and 38 deletions

View File

@@ -136,6 +136,7 @@ public:
private:
LinkGraphOverlay *overlay;
size_t num_cargo;
void UpdateOverlayCompanies();
void UpdateOverlayCargoes();