]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/driver.cpp
Simulate a delay for switching turnouts in the Dummy driver
[r2c2.git] / source / libr2c2 / driver.cpp
index 46548e82590ed3e11962184ded5f14f8b86edf25..3b6d64995f56a04c24e52472800e9d6ec8fe24ba 100644 (file)
@@ -21,7 +21,7 @@ Driver *Driver::create(const string &str)
        else if(type=="cs" || type=="centralstation")
                return new CentralStation(params);
        else if(type=="dummy")
-               return new Dummy;
+               return new Dummy(params);
 
        throw invalid_argument("Driver::create");
 }