diff options
author | rubidium <rubidium@openttd.org> | 2007-06-07 09:20:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-07 09:20:04 +0000 |
commit | 40cea6c3efb3037bb3a4515498cf855ef19dad49 (patch) | |
tree | 755e73a788de073ba2fa4c8838469d27817afa11 /src/industry_gui.cpp | |
parent | 770d7188ac7e785aec87bda749d532f53faa0d73 (diff) | |
download | openttd-40cea6c3efb3037bb3a4515498cf855ef19dad49.tar.xz |
(svn r10054) -Codechange: make the industries cost modifier look more like the original one, so it's much easier to support industries that use this original format.
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index f46cd651d..0ff388b4f 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -39,7 +39,7 @@ static void BuildIndustryWndProc(Window *w, WindowEvent *e) if (_thd.place_mode == 1 && _thd.window_class == WC_BUILD_INDUSTRY) { int ind_type = _build_industry_types[_opt_ptr->landscape][WP(w, def_d).data_1]; - SetDParam(0, (_price.build_industry >> 5) * GetIndustrySpec(ind_type)->cost_multiplier); + SetDParam(0, (_price.build_industry >> 8) * GetIndustrySpec(ind_type)->cost_multiplier); DrawStringCentered(85, w->height - 21, STR_482F_COST, 0); } break; |