session:: shared pointer game refactoring

This commit is contained in:
doitux
2011-01-12 22:37:33 +00:00
parent a2d0272ed3
commit b6c820718a
5 changed files with 60 additions and 61 deletions
+2 -2
View File
@@ -135,9 +135,9 @@ void Session::startClientGame(boost::shared_ptr<Game> game)
currentGame = game;
}
Game *Session::getCurrentGame()
boost::shared_ptr<Game> Session::getCurrentGame()
{
return currentGame.get();
return currentGame;
}
GuiInterface *Session::getGui()