From 6fe931fe4c6c83ba120a08d57ac9bdccf409628d Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Sat, 6 Oct 2012 17:22:53 +0200 Subject: [PATCH] Implementing issue #422, also briefly discussed with @lonvia --- createHierarchy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createHierarchy.cpp b/createHierarchy.cpp index 9381ec329..51778b1e5 100644 --- a/createHierarchy.cpp +++ b/createHierarchy.cpp @@ -119,7 +119,7 @@ int main (int argc, char *argv[]) { ERR("The input data is broken. It is impossible to do any turns in this graph"); - if(!testDataFile( (argc > 4 ? argv[3] : "profile.lua") )) { + if(!testDataFile( (argc > 3 ? argv[3] : "profile.lua") )) { ERR("Need profile.lua to apply traffic signal penalty"); } /*** Setup Scripting Environment ***/