diff options
author | tron <tron@openttd.org> | 2005-05-27 15:05:54 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-05-27 15:05:54 +0000 |
commit | 2aaff36eefaa98ef1c6eefbbb98e3173fe7dfed5 (patch) | |
tree | 9a04fd85fd4e3169a3ec331208c53ca512c8b36f /viewport.h | |
parent | 72f673f36da8f933aa99e31037968aa13f1831e6 (diff) | |
download | openttd-2aaff36eefaa98ef1c6eefbbb98e3173fe7dfed5.tar.xz |
(svn r2369) Remove _thd_ptr: It always holds the address of _thd
Diffstat (limited to 'viewport.h')
-rw-r--r-- | viewport.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/viewport.h b/viewport.h index 5681c82ad..7a8c02a29 100644 --- a/viewport.h +++ b/viewport.h @@ -124,12 +124,11 @@ bool HandlePlacePushButton(Window *w, int widget, uint32 cursor, int mode, Place /* viewport.c */ // XXX - maximum viewports is maximum windows - 2 (main toolbar + status bar) VARDEF ViewPort _viewports[25 - 2]; -VARDEF TileHighlightData _thd; VARDEF uint32 _active_viewports; VARDEF Point _tile_fract_coords; -extern TileHighlightData * const _thd_ptr; +extern TileHighlightData _thd; void ViewportDoDraw(const ViewPort *vp, int left, int top, int right, int bottom); |