crash bugfix
This commit is contained in:
1 parent
342c11615e
commit
f64d1f187a
1 file changed
+1
-1
@@ -857,7 +857,7 @@ void gameTableImpl::initGui(int speed)
|
||||
QString titleString = "";
|
||||
assert(myStartWindow->getSession());
|
||||
if(myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_INTERNET || myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_NETWORK) {
|
||||
GameInfo info(myStartWindow->getSession()->getClientGameInfo(myStartWindow->getSession()->getCurrentGame()->getMyGameID()));
|
||||
GameInfo info(myStartWindow->getSession()->getClientGameInfo(myStartWindow->getSession()->getClientCurrentGameId()));
|
||||
titleString = QString::fromUtf8(info.name.c_str())+" - ";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user