Fix infrastructure sharing checks not being executed when disabling

This commit is contained in:
Jonathan G Rennison
2022-07-15 21:48:22 +01:00
parent 27d4900fde
commit 856cea576f
3 changed files with 14 additions and 7 deletions

View File

@@ -19,7 +19,7 @@
void PayStationSharingFee(Vehicle *v, const Station *st);
void PayDailyTrackSharingFee(Train *v);
bool CheckSharingChangePossible(VehicleType type);
bool CheckSharingChangePossible(VehicleType type, bool new_value);
void HandleSharingCompanyDeletion(Owner owner);
void UpdateAllBlockSignals(Owner owner = INVALID_OWNER);