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_gui.cpp | |
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_gui.cpp')
-rw-r--r-- | src/player_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player_gui.cpp b/src/player_gui.cpp index 694bc9a56..2f307570d 100644 --- a/src/player_gui.cpp +++ b/src/player_gui.cpp @@ -87,7 +87,7 @@ static void DrawPlayerEconomyStats(const Player *p, byte mode) } DrawString(2, y, STR_7026_BANK_BALANCE, 0); - SetDParam64(0, p->money64); + SetDParam64(0, p->player_money); DrawStringRightAligned(182, y, STR_7028, 0); y += 10; @@ -100,7 +100,7 @@ static void DrawPlayerEconomyStats(const Player *p, byte mode) GfxFillRect(182 - 75, y - 2, 182, y - 2, 215); - SetDParam64(0, p->money64 - p->current_loan); + SetDParam64(0, p->player_money - p->current_loan); DrawStringRightAligned(182, y, STR_7028, 0); } |