(svn r20849) -Change: Only display liveries in the liverywindow if they are used by some vehicle somewhen (not considering date or such).

This commit is contained in:
frosch
2010-09-25 22:00:49 +00:00
parent a54b711dc1
commit 717fcd09c6
3 changed files with 42 additions and 17 deletions

View File

@@ -890,6 +890,12 @@ static bool InvalidateVehTimetableWindow(int32 p1)
return true;
}
static bool InvalidateCompanyLiveryWindow(int32 p1)
{
InvalidateWindowClassesData(WC_COMPANY_COLOUR);
return RedrawScreen(p1);
}
/*
* A: competitors
* B: competitor start time. Deprecated since savegame version 110.