From c43e0ecb149c05bacec93ccbc891c3b8e97ec9df Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Sun, 2 Mar 2008 01:18:07 +0100 Subject: [PATCH] make sure the default behavior does not crash. --- src/mobility/mobility-helper.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mobility/mobility-helper.cc b/src/mobility/mobility-helper.cc index c8e02262a..b34c919d5 100644 --- a/src/mobility/mobility-helper.cc +++ b/src/mobility/mobility-helper.cc @@ -14,6 +14,7 @@ MobilityHelper::MobilityHelper () { m_position = CreateObjectWith ("X", ConstantVariable (0.0), "Y", ConstantVariable (0.0)); + m_mobility.SetTypeId ("StaticMobilityModel"); } void MobilityHelper::EnableNotifier (void)