]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/dummy.cpp
Initialize the halted flag of dummy driver
[r2c2.git] / source / libr2c2 / dummy.cpp
index ba23449ad304a50fe99f043114b439795c0cc666..90638f63bd8c438b2cfa845a7c0d20173992df41 100644 (file)
@@ -11,6 +11,7 @@ namespace R2C2 {
 
 Dummy::Dummy(const Options &opts):
        power(true),
+       halted(false),
        turnout_delay(opts.get("turnout_delay", 0.0f)*Time::sec),
        turnout_fail_rate(opts.get("turnout_fail_rate", 0.0f)*RAND_MAX)
 { }