session:: shared pointer game refactoring
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user