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 | 7a72dcb3b57b70214c4d402be89f9b1dd158d790 (patch) | |
tree | 1ba3bbf25a5886a7f40a02d3403d53c57e634d75 /src/player.h | |
parent | 26e9b5ca5f0eafae421a640ea4e4753d6ac7ec0e (diff) | |
download | openttd-7a72dcb3b57b70214c4d402be89f9b1dd158d790.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++) |