diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/economy.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 33dfec3cc..d5652cd49 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -419,7 +419,10 @@ void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner) assert(new_owner != INVALID_OWNER); v->owner = new_owner; + + /* Owner changes, clear cache */ v->colourmap = PAL_NONE; + v->InvalidateNewGRFCache(); if (v->IsEngineCountable()) { GroupStatistics::CountEngine(v, 1); |