Fixed: assert when Local mode is used

This commit is contained in:
kervala 2010-05-20 10:30:15 +02:00
parent 2d52f47640
commit 3c3e17052f

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) ? "&" : "?") +