diff -r fd3b663230ed -r 9ddaa68cccae src/main/java/ru/alphatech/icfpc/game/Player.java --- a/src/main/java/ru/alphatech/icfpc/game/Player.java Mon Jun 20 15:50:55 2011 +0400 +++ b/src/main/java/ru/alphatech/icfpc/game/Player.java Tue Jun 21 11:55:31 2011 +0400 @@ -67,7 +67,14 @@ getSlot(batch.slot.getId()).putValue(batch.card.returnValue(value, this, myOpponent)); break; case SLOT_TO_CARD: - getSlot(batch.slot.getId()).putValue(getSlot(batch.slot.getId()).getValue().returnValue(batch.card, this, myOpponent)); + IValue valueC = batch.card; + + if(valueC instanceof Zero) + { + valueC = new Value(0); + } + + getSlot(batch.slot.getId()).putValue(getSlot(batch.slot.getId()).getValue().returnValue(valueC, this, myOpponent)); break; } } catch (ICFPCException exception){