summaryrefslogtreecommitdiff
path: root/src/variables.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-09 16:55:48 +0000
committerrubidium <rubidium@openttd.org>2008-01-09 16:55:48 +0000
commit0365c1f33ba130bcfc663309b806fe65d730381f (patch)
treea0181571819fca45c3cc170c7ce718009cb12535 /src/variables.h
parent98b4fa7c070f2433539f2c399129c24fba842632 (diff)
downloadopenttd-0365c1f33ba130bcfc663309b806fe65d730381f.tar.xz
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
Diffstat (limited to 'src/variables.h')
-rw-r--r--src/variables.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/variables.h b/src/variables.h
index aaf62c9a8..11f5d3e90 100644
--- a/src/variables.h
+++ b/src/variables.h
@@ -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];