diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 17:25:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 17:25:17 +0000 |
commit | 9c0944aa09b1d36a60d81c41088a906064086bfb (patch) | |
tree | 9b6fd14e50d7ab0c8fb901cfad2e00092a6b0470 /src/economy.cpp | |
parent | c5225992c168b3546d37f5309b668d9fe5f4af1d (diff) | |
download | openttd-9c0944aa09b1d36a60d81c41088a906064086bfb.tar.xz |
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 9c55781d2..62240444d 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -1783,7 +1783,7 @@ static void DoAcquireCompany(Player *p) SetDParam(0, p->name_1); SetDParam(1, p->name_2); - SetDParamMoney(2, p->bankrupt_value); + SetDParam(2, p->bankrupt_value); AddNewsItem( (StringID)(_current_player | NB_BMERGER), NEWS_FLAGS(NM_CALLBACK, 0, NT_COMPANY_INFO, DNC_BANKRUPCY),0,0); /* original code does this a little bit differently */ |