Fixes message "no multiplayer sides available"...

...while joining an mp game with free slots.
This commit is contained in:
Jörg Hinrichs 2007-02-06 20:59:10 +00:00
parent cd0441b9d0
commit f8efbcd540

View file

@ -184,7 +184,9 @@ void wait::join_game(bool observe)
check_response(data_res, level_);
//if we have got valid side data
if(level_.child("gamelist") == NULL)
//the first condition is to make sure that we don't have another
//WML message with a side-tag in it
if( (level_.values.find("version") != level_.values.end()) && (level_.child("side") != NULL) )
break;
}