diff options
author | rubidium <rubidium@openttd.org> | 2007-06-18 21:00:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-18 21:00:14 +0000 |
commit | 7dda2d93da840519f1388d0191a00362ff97feb6 (patch) | |
tree | 1ba3bbf25a5886a7f40a02d3403d53c57e634d75 /src/player.h | |
parent | 6785ea670fa3eb4734be42851b0f31199bc5b7e5 (diff) | |
download | openttd-7dda2d93da840519f1388d0191a00362ff97feb6.tar.xz |
(svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money.
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/player.h b/src/player.h index faccd94bf..ce07ba204 100644 --- a/src/player.h +++ b/src/player.h @@ -166,9 +166,8 @@ struct Player { PlayerFace face; - int32 player_money; int32 current_loan; - int64 money64; ///< internal 64-bit version of the money. the 32-bit field will be clamped to plus minus 2 billion + int64 player_money; byte player_color; Livery livery[LS_END]; @@ -215,7 +214,6 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player); void GetNameOfOwner(Owner owner, TileIndex tile); int64 CalculateCompanyValue(const Player* p); void InvalidatePlayerWindows(const Player* p); -void UpdatePlayerMoney32(Player *p); void SetLocalPlayer(PlayerID new_player); #define FOR_ALL_PLAYERS(p) for (p = _players; p != endof(_players); p++) |