From 1cc6a6a052b34cf87129b7d1cfc3865e49b7ffe2 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 25 Feb 2007 05:39:44 +0100 Subject: [PATCH] fix bug in Alu1 related to zero-storage boxes --- ships/Alu1.ship | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.7.10.4