Fixed: assert when Local mode is used

This commit is contained in:
kervala 2010-05-20 10:30:15 +02:00
parent 79e9fb5bdc
commit 78111dec49

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