TBTR: Fix palette recolouring of templates
Fix group overrides affecting template image when cloning vehicle Update template when changing company colours Update template images on demand instead of at load
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "goal_base.h"
|
||||
#include "story_base.h"
|
||||
#include "zoning.h"
|
||||
#include "tbtr_template_vehicle_func.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
|
||||
@@ -1039,6 +1040,7 @@ CommandCost CmdSetCompanyColour(TileIndex tile, DoCommandFlag flags, uint32 p1,
|
||||
}
|
||||
|
||||
ResetVehicleColourMap();
|
||||
InvalidateTemplateReplacementImages();
|
||||
MarkWholeScreenDirty();
|
||||
|
||||
/* All graph related to companies use the company colour. */
|
||||
|
Reference in New Issue
Block a user