Changeset - r17329:078c0f7022e9
[Not reviewed]
master
0 1 0
terkhen - 14 years ago 2011-02-14 19:39:01
terkhen@openttd.org
(svn r22079) -Fix: The owner view of the smallmap was not updated after a company colour change.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/company_cmd.cpp
Show inline comments
 
@@ -1031,6 +1031,9 @@ CommandCost CmdSetCompanyColour(TileInde
 
		InvalidateWindowData(WC_DELIVERED_CARGO, 0);
 
		InvalidateWindowData(WC_PERFORMANCE_HISTORY, 0);
 
		InvalidateWindowData(WC_COMPANY_VALUE, 0);
 
		/* The smallmap owner view also stores the company colours. */
 
		BuildOwnerLegend();
 
		InvalidateWindowData(WC_SMALLMAP, 0, 1);
 

	
 
		/* Company colour data is indirectly cached. */
 
		Vehicle *v;
0 comments (0 inline, 0 general)