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:
@@ -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];
|
||||
|
Reference in New Issue
Block a user