summaryrefslogtreecommitdiff
path: root/src/player_base.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-08-16 14:15:32 +0000
committerfrosch <frosch@openttd.org>2008-08-16 14:15:32 +0000
commitfc8997bcc376cd70d84b29de4e2927d2a6d924c0 (patch)
tree9fcd658872c0ee25e4403c1a94b6c658792f97f1 /src/player_base.h
parentea2564c42075e8c00c9ee235a4b8865149e030ac (diff)
downloadopenttd-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.h12
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;