(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
This commit is contained in:
@@ -89,7 +89,6 @@ VARDEF bool _rightclick_emulate;
|
||||
VARDEF PlayerFace _player_face; ///< for player face storage in openttd.cfg
|
||||
|
||||
/* IN/OUT parameters to commands */
|
||||
VARDEF byte _yearly_expenses_type;
|
||||
VARDEF TileIndex _build_tunnel_endtile;
|
||||
VARDEF bool _generating_world;
|
||||
|
||||
@@ -110,8 +109,6 @@ VARDEF char *_highscore_file;
|
||||
VARDEF char *_log_file;
|
||||
|
||||
|
||||
#define SET_EXPENSES_TYPE(x) _yearly_expenses_type = x;
|
||||
|
||||
/* landscape.cpp */
|
||||
extern const byte _tileh_to_sprite[32];
|
||||
|
||||
|
Reference in New Issue
Block a user