From fd2f9b98f218e5315654bd1a73bb62a4783a8bcf Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sun, 28 Mar 2010 13:25:14 +0100 Subject: [PATCH] Hide station window for the time being --- src/Game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Game.cpp b/src/Game.cpp index 698b870..0c943dc 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -153,7 +153,7 @@ void Game::overlay() const void Game::stoppedAtStation() { - layout->get("/station").visible(true); + //layout->get("/station").visible(true); } void Game::update(IPickBufferPtr aPickBuffer, int aDelta) @@ -206,7 +206,7 @@ void Game::nearStation(IStationPtr s) activeStation = s; s->setHighlightVisible(true); - gui::Widget& stationWnd = layout->get("/station"); + //gui::Widget& stationWnd = layout->get("/station"); layout->cast("/station/name").text(s->name()); } @@ -219,7 +219,7 @@ void Game::leftStation() activeStation->setHighlightVisible(false); activeStation.reset(); - layout->get("/station").visible(false); + //layout->get("/station").visible(false); } } -- 2.39.2