diff options
author | Bdale Garbee <bdale@gag.com> | 2016-01-10 19:09:09 -0700 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2016-01-10 19:09:09 -0700 |
commit | 4ecc53175a5c28cbc1b846c24d83b6adc3afc2ef (patch) | |
tree | 4c318f3d5b7ef01247531a8ccb8ce3ce211e48b3 /altoslib/AltosReplayReader.java | |
parent | 19d25c9f4c80d2c8562fc4abd766a23961167e79 (diff) | |
parent | a2ea621eac3263348aff50885c79296f8ece26ed (diff) |
Merge branch 'branch-1.6' into debian
Diffstat (limited to 'altoslib/AltosReplayReader.java')
-rw-r--r-- | altoslib/AltosReplayReader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altoslib/AltosReplayReader.java b/altoslib/AltosReplayReader.java index 9419ec93..5dcb8702 100644 --- a/altoslib/AltosReplayReader.java +++ b/altoslib/AltosReplayReader.java @@ -15,7 +15,7 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -package org.altusmetrum.altoslib_8; +package org.altusmetrum.altoslib_9; import java.io.*; import java.util.*; @@ -39,7 +39,7 @@ public class AltosReplayReader extends AltosFlightReader { public void update(AltosState state) throws InterruptedException { /* Make it run in realtime after the rocket leaves the pad */ - if (state.state > AltosLib.ao_flight_pad && state.time_change > 0) + if (state.state() > AltosLib.ao_flight_pad && state.time_change > 0) Thread.sleep((int) (Math.min(state.time_change,10) * 1000)); state.set_received_time(System.currentTimeMillis()); } |