Skip to content

Commit 6e056e1

Browse files
committed
Remove stale assertions about properties
1 parent c38e6bd commit 6e056e1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/extractor/scripting_environment_lua.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,6 @@ void Sol2ScriptingEnvironment::InitContext(LuaScriptingContext &context)
473473
// Assert that version-dependent properties were not changed by profile
474474
switch (context.api_version)
475475
{
476-
case 1:
477-
BOOST_ASSERT(context.properties.GetUturnPenalty() == 0);
478-
BOOST_ASSERT(context.properties.GetTrafficSignalPenalty() == 0);
479-
break;
480476
case 0:
481477
BOOST_ASSERT(context.properties.GetWeightName() == "duration");
482478
break;

0 commit comments

Comments
 (0)