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() {
|
private void compute() {
|
||||||
|
if (inspectOnly) {
|
||||||
if (mayRedeal) {
|
if (mayRedeal) {
|
||||||
emitRedeal();
|
emitRedeal();
|
||||||
|
} else {
|
||||||
|
emitEndOfTurn();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
turn();
|
turn();
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue