summaryrefslogtreecommitdiff
path: root/src/player_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-18 21:00:14 +0000
committerrubidium <rubidium@openttd.org>2007-06-18 21:00:14 +0000
commit7dda2d93da840519f1388d0191a00362ff97feb6 (patch)
tree1ba3bbf25a5886a7f40a02d3403d53c57e634d75 /src/player_gui.cpp
parent6785ea670fa3eb4734be42851b0f31199bc5b7e5 (diff)
downloadopenttd-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_gui.cpp')
-rw-r--r--src/player_gui.cpp4
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);
}