// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <simgear/compiler.h>
if (get_direction() == SG_IO_IN) {
- globals->get_multiplayer_rx_mgr()->ProcessData();
+ globals->get_multiplayer_mgr()->ProcessData();
} else if (get_direction() == SG_IO_OUT) {
sgQuat PlayerOrientation;
sgMatrixToQuat(PlayerOrientation, posTrans);
- globals->get_multiplayer_tx_mgr()->SendMyPosition(PlayerOrientation, PlayerPosition);
+ globals->get_multiplayer_mgr()->SendMyPosition(PlayerOrientation, PlayerPosition);
}
if (get_direction() == SG_IO_IN) {
- globals->get_multiplayer_rx_mgr()->Close();
+ globals->get_multiplayer_mgr()->Close();
} else if (get_direction() == SG_IO_OUT) {
- globals->get_multiplayer_tx_mgr()->Close();
+// globals->get_multiplayer_mgr()->Close();
}