diff options
author | frosch <frosch@openttd.org> | 2008-08-16 14:15:32 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-08-16 14:15:32 +0000 |
commit | fc8997bcc376cd70d84b29de4e2927d2a6d924c0 (patch) | |
tree | 9fcd658872c0ee25e4403c1a94b6c658792f97f1 /src/player_base.h | |
parent | ea2564c42075e8c00c9ee235a4b8865149e030ac (diff) | |
download | openttd-fc8997bcc376cd70d84b29de4e2927d2a6d924c0.tar.xz |
(svn r14085) -Cleanup (r14083): Remove no longer used functions.
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; |