summaryrefslogtreecommitdiff
path: root/src/oldloader.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
commit7a72dcb3b57b70214c4d402be89f9b1dd158d790 (patch)
tree1ba3bbf25a5886a7f40a02d3403d53c57e634d75 /src/oldloader.cpp
parent26e9b5ca5f0eafae421a640ea4e4753d6ac7ec0e (diff)
downloadopenttd-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/oldloader.cpp')
-rw-r--r--src/oldloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp
index 87e4520d5..d0a4030bd 100644
--- a/src/oldloader.cpp
+++ b/src/oldloader.cpp
@@ -954,7 +954,7 @@ static bool LoadOldPlayer(LoadgameState *ls, int num)
p->name_1 = RemapOldStringID(_old_string_id);
p->president_name_1 = RemapOldStringID(_old_string_id_2);
- p->money64 = p->player_money;
+ p->player_money = p->player_money;
if (num == 0) {
/* If the first player has no name, make sure we call it UNNAMED */
@@ -972,7 +972,7 @@ static bool LoadOldPlayer(LoadgameState *ls, int num)
Ps: this also means that if you had exact 893288 pounds, you will go back
to 10000.. this is a very VERY small chance ;) */
if (p->player_money == 893288)
- p->money64 = p->player_money = p->current_loan = 100000;
+ p->player_money = p->current_loan = 100000;
_player_colors[num] = p->player_color;
p->inaugurated_year -= ORIGINAL_BASE_YEAR;