Changeset - r10884:d87c4e446f78
[Not reviewed]
master
0 1 0
Yexo - 16 years ago 2009-01-23 09:20:57
yexo@openttd.org
(svn r15219) -Fix (r15216): MSVC failed to find the proper casts.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/saveload/oldloader_sl.cpp
Show inline comments
 
@@ -666,10 +666,10 @@ static bool LoadOldCargoPaymentRate(Load
 
		* which otherwise would cause much less income while the annual running costs of
 
		* the vehicles stay the same" */
 

	
 
		Money m = ((((Money)_old_price) << 16) + _old_price_frac) * 124 / 74;
 
		Money m = ((((Money)_old_price) << 16) + (uint)_old_price_frac) * 124 / 74;
 

	
 
		_old_price = m >> 16;
 
		_old_price_frac = GB(m, 0, 16);
 
		_old_price_frac = GB((int64)m, 0, 16);
 
	}
 

	
 
	_cargo_payment_rates[num] = -_old_price;
0 comments (0 inline, 0 general)