projects
/
fleet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
50f1b1b
)
hack in Counter.ship to deal with how flushes are done in the interpreter
author
Adam Megacz
<adam@megacz.com>
Sat, 22 Aug 2009 21:31:04 +0000
(14:31 -0700)
committer
Adam Megacz
<adam@megacz.com>
Sat, 22 Aug 2009 21:31:04 +0000
(14:31 -0700)
ships/Counter.ship
patch
|
blob
|
history
diff --git
a/ships/Counter.ship
b/ships/Counter.ship
index
803105d
..
05f98a9
100644
(file)
--- a/
ships/Counter.ship
+++ b/
ships/Counter.ship
@@
-43,7
+43,10
@@
public void service() {
if (temp < 0) {
temp = 0;
full = false;
- box_inOp.removeDataForShip();
+
+ // ugly hack due to mishandling of resets
+ if (box_inOp.dataReadyForShip()) box_inOp.removeDataForShip();
+
if (op_count) box_in2.removeDataForShip();
else if (op_repeat && op_v1) box_in1.removeDataForShip();
else if (op_repeat && op_v2) box_in2.removeDataForShip();