changeset 206 | 7f8c26d8526b |
parent 201 | c40d343115f8 |
child 337 | 66647f97e7c0 |
--- a/players.c Sat Sep 11 19:18:30 2004 +0000 +++ b/players.c Sat Sep 11 19:34:11 2004 +0000 @@ -548,7 +548,7 @@ _is_ai_player = true; FOR_ALL_PLAYERS(p) { - if (p->is_active) { + if (p->is_active && p->is_ai) { _current_player = p->index; if (_patches.ainew_active) AiNewDoGameLoop(p); @@ -558,8 +558,7 @@ } _is_ai_player = false; -// XXX: is this needed? - _current_player = 0; + _current_player = OWNER_NONE; } // index is the next parameter in _decode_parameters to set up