From: adam Date: Sun, 25 Feb 2007 04:39:44 +0000 (+0100) Subject: fix bug in Alu1 related to zero-storage boxes X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=1cc6a6a052b34cf87129b7d1cfc3865e49b7ffe2;p=fleet.git fix bug in Alu1 related to zero-storage boxes --- diff --git a/ships/Alu1.ship b/ships/Alu1.ship index 2a5019e..6818560 100644 --- a/ships/Alu1.ship +++ b/ships/Alu1.ship @@ -18,7 +18,7 @@ ABS: == TeX ============================================================== == Fleeterpreter ==================================================== public void service() { - if (box_in.dataReadyForShip() && box_inOp.dataReadyForShip()) { + if (box_in.dataReadyForShip() && box_inOp.dataReadyForShip() && box_out.readyForDataFromShip()) { long data = box_in.removeDataForShip(); long opcode = box_inOp.removeDataForShip(); switch((int)opcode) {