Add support for money cheat in multiplayer

Add a setting for whether this is permitted by multiplayer clients
This commit is contained in:
Jonathan G Rennison
2020-04-14 22:04:41 +01:00
parent b209b37db9
commit ab99c16601
11 changed files with 80 additions and 11 deletions

View File

@@ -67,6 +67,7 @@ struct DifficultySettings {
bool line_reverse_mode; ///< reversing at stations or not
bool disasters; ///< are disasters enabled
byte town_council_tolerance; ///< minimum required town ratings to be allowed to demolish stuff
bool money_cheat_in_multiplayer; ///< is the money cheat permitted for non-admin multiplayer clients
};
/** Settings relating to viewport/smallmap scrolling. */