From e27be6ee92fb4626704b7e62e9b106dc4f5738c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gawron?= Date: Sun, 27 Jan 2013 15:06:15 +0100 Subject: [PATCH] Return double precision float as requested in generic/binary protocol. --- src/Network/generic.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/generic.cxx b/src/Network/generic.cxx index dca363087..43dc92a72 100644 --- a/src/Network/generic.cxx +++ b/src/Network/generic.cxx @@ -144,7 +144,7 @@ bool FGGeneric::gen_message_binary() { case FG_DOUBLE: { val = _out_message[i].offset + - _out_message[i].prop->getFloatValue() * _out_message[i].factor; + _out_message[i].prop->getDoubleValue() * _out_message[i].factor; u64 tmpun64; tmpun64.doubleVal = val;