Fix AI initially melding in inspect turn
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@348 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
0e9bf5c52d
commit
4913a5b5fb
1 changed files with 6 additions and 2 deletions
|
@ -63,8 +63,12 @@ public class BaseAIControl extends AbstractTurnControl {
|
|||
}
|
||||
|
||||
private void compute() {
|
||||
if (mayRedeal) {
|
||||
emitRedeal();
|
||||
if (inspectOnly) {
|
||||
if (mayRedeal) {
|
||||
emitRedeal();
|
||||
} else {
|
||||
emitEndOfTurn();
|
||||
}
|
||||
} else {
|
||||
turn();
|
||||
}
|
||||
|
|
Reference in a new issue