From 761644c51de05eec2527324aa0fe91e7128e8f64 Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Sun, 2 Oct 2011 15:13:55 +0200 Subject: [PATCH] hla: use the new HLAFederate::processMessages() call. --- src/Network/HLA/hla.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Network/HLA/hla.cxx b/src/Network/HLA/hla.cxx index f71446a67..4f5e85ffb 100644 --- a/src/Network/HLA/hla.cxx +++ b/src/Network/HLA/hla.cxx @@ -1240,14 +1240,7 @@ FGHLA::process() // Then get news from others and process possible update requests if (get_direction() & (SG_IO_IN|SG_IO_OUT)) { - - // I hoped that the tick call itself would do that job with the timestamps, but this way it works - SGTimeStamp timestamp = SGTimeStamp::now(); - timestamp += SGTimeStamp::fromSec(0.01); - do { - if (!_hlaFederate->tick(0.0, 0.0)) - break; - } while (SGTimeStamp::now() <= timestamp); + _hlaFederate->processMessages(); } return true; -- 2.39.5