From 1a6caece3e3fcc6d110a012228cb317faa016510 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Fri, 31 Mar 2017 23:42:57 +0100 Subject: [PATCH] refs #925 Removed unused code. --- src/xbus/traffic.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/xbus/traffic.cpp b/src/xbus/traffic.cpp index 3a0734493..7c165bdb0 100644 --- a/src/xbus/traffic.cpp +++ b/src/xbus/traffic.cpp @@ -381,14 +381,6 @@ namespace XBus } else { return xpmpData_Unchanged; } } - else - { - // hack because we need to provide xpmp_LightStatus::timeOffset even if we don't have surfaces - const auto io_surfaces = static_cast(io_data); - std::memcpy(io_surfaces, &plane->surfaces, sizeof(*io_surfaces)); - plane->hasSurfaces = true; - return xpmpData_NewData; - } case xpmpDataType_Radar: if (plane->hasXpdr)