1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 21:19:10 +00:00

(svn r1375) -Fix: [1050990] Buying trains sometimes accounted for incorrectly. Was the result of the cost getting reset in a recursive call of docommand. That is fixed. In addition all cost-commands are typed explicitely. Please do not forget to do so or your costs will be credited to construction if you are unlucky.

This commit is contained in:
darkvater
2005-01-04 17:11:03 +00:00
parent 88b8a01da6
commit 6edb21231e
13 changed files with 39 additions and 7 deletions

View File

@@ -399,7 +399,7 @@ static inline uint32 GetDParam(uint n)
#define INJECT_DPARAM(n) InjectDparam(n);
#define SET_EXPENSES_TYPE(x) if (x) _yearly_expenses_type=x;
#define SET_EXPENSES_TYPE(x) _yearly_expenses_type = x;
/* landscape.c */
extern const byte _tileh_to_sprite[32];