Fixed: assert when Local mode is used

This commit is contained in:
kervala 2010-05-20 10:30:15 +02:00
parent de6decfccc
commit 0106718fb8

View file

@ -66,7 +66,7 @@ static string getWebAuthKey()
void addWebIGParams (string &url)
{
if(!UserEntity) return;
if(!UserEntity || (NetMngr.getConnectionState() < CNetworkConnection::Connected)) return;
uint32 cid = NetMngr.getLoginCookie().getUserId() * 16 + PlayerSelectedSlot;
url += ((url.find('?') != string::npos) ? "&" : "?") +