Debug.ship: use a BitVector, not a long
authorAdam Megacz <adam@megacz.com>
Mon, 27 Jul 2009 03:24:14 +0000 (20:24 -0700)
committerAdam Megacz <adam@megacz.com>
Mon, 27 Jul 2009 03:24:14 +0000 (20:24 -0700)
ships/Debug.ship

index e912f92..f796446 100644 (file)
@@ -32,7 +32,7 @@ ship.
 == Fleeterpreter ====================================================
 public void service() {
   if (box_in.dataReadyForShip())
-    ((Interpreter)getFleet()).debug(box_in.removeDataForShip());
+    ((Interpreter)getFleet()).debug(new BitVector(37).set(box_in.removeDataForShip()));
 }
 
 == FleetSim ==============================================================