Fixed sign out issue. I forgot that asserts only get checked with debug builds.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
unitraxx 2013-06-30 23:41:30 +00:00
parent a6b492129e
commit 5ecf73d90f

View File

@ -101,9 +101,10 @@ bool CurrentOnlineUser::signIn( const irr::core::stringw &username,
{
if (rec_success =="yes")
{
assert(result->get("token", &m_token));
assert(result->get("username", &m_name));
assert(result->get("userid", &m_id));
int token_fetched = result->get("token", &m_token);
int username_fetched = result->get("username", &m_name);
int userid_fetched = result->get("userid", &m_id);
assert(token_fetched && username_fetched && userid_fetched);
m_is_signed_in = true;
m_is_guest = false;
}