1
0
Fork 0

Codefix: LinkGraphOverlay::dirty was never initialised

pull/12921/head
Jonathan G Rennison 2024-08-23 15:26:39 +01:00 committed by rubidium42
parent 3be96c6816
commit 4070cf9968
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public:
* @param scale Desired thickness of lines and size of station dots.
*/
LinkGraphOverlay(Window *w, WidgetID wid, CargoTypes cargo_mask, CompanyMask company_mask, uint scale) :
window(w), widget_id(wid), cargo_mask(cargo_mask), company_mask(company_mask), scale(scale)
window(w), widget_id(wid), cargo_mask(cargo_mask), company_mask(company_mask), scale(scale), dirty(true)
{}
void Draw(const DrawPixelInfo *dpi);