Mercurial > hg > openttd
changeset 8979:e6dbe6d84c32 draft
(svn r12771) -Codechange: remove more from variables.h.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Fri, 18 Apr 2008 16:51:54 +0000 |
parents | 8503652d4f51 |
children | b4160d91b7c7 |
files | src/main_gui.cpp src/variables.h src/viewport.cpp |
diffstat | 3 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -43,9 +43,6 @@ static int _rename_id = 1; static int _rename_what = -1; -bool _draw_bounding_boxes = false; - - void CcGiveMoney(bool success, TileIndex tile, uint32 p1, uint32 p2) { #ifdef ENABLE_NETWORK @@ -257,6 +254,7 @@ if (e->we.keypress.keycode == ('B' | WKC_CTRL)) { e->we.keypress.cont = false; + extern bool _draw_bounding_boxes; _draw_bounding_boxes = !_draw_bounding_boxes; MarkWholeScreenDirty(); break;