Fixed RCA AI not being loaded for standard multiplayer games.

(Fixed bug #16607 along the way.)
This commit is contained in:
Guillaume Melquiond 2010-12-22 10:57:19 +00:00
parent 7f1ded77b8
commit 9735175159

View file

@ -172,6 +172,8 @@ connect::side::side(connect& parent, const config& cfg, int index) :
if (const config &ai = cfg.child("ai"))
ai_algorithm_ = ai["ai_algorithm"].str();
else if (!parent_->ai_algorithms_.empty())
ai_algorithm_ = parent_->ai_algorithms_[0]->id;
else
ai_algorithm_ = "default";
init_ai_algorithm_combo();