diff options
Diffstat (limited to 'src/player_base.h')
-rw-r--r-- | src/player_base.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/player_base.h b/src/player_base.h index 6f11e54e3..3ede33f15 100644 --- a/src/player_base.h +++ b/src/player_base.h @@ -92,18 +92,6 @@ static inline bool IsValidPlayerID(PlayerID index) #define FOR_ALL_PLAYERS_FROM(d, start) for (d = GetPlayer(start); d != NULL; d = (d->index + 1U < GetPlayerPoolSize()) ? GetPlayer(d->index + 1U) : NULL) if (d->IsValid()) #define FOR_ALL_PLAYERS(d) FOR_ALL_PLAYERS_FROM(d, 0) -struct PlayerMoneyBackup { -private: - Money backup_yearly_expenses[EXPENSES_END]; - PlayerEconomyEntry backup_cur_economy; - Player *p; - -public: - PlayerMoneyBackup(Player *player); - - void Restore(); -}; - static inline byte ActivePlayerCount() { const Player *p; |