From: Mikko Rasa Date: Fri, 20 Feb 2015 09:50:54 +0000 (+0200) Subject: Initialize the halted flag of dummy driver X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=9f0d428e974defa64cdf8e7b7072967327250958;p=r2c2.git Initialize the halted flag of dummy driver --- diff --git a/source/libr2c2/dummy.cpp b/source/libr2c2/dummy.cpp index ba23449..90638f6 100644 --- a/source/libr2c2/dummy.cpp +++ b/source/libr2c2/dummy.cpp @@ -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) { }