From: Mikko Rasa Date: Sun, 30 Mar 2014 18:13:14 +0000 (+0300) Subject: Remove some unnecessary braces and an outdated comment X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=196c1a0a2f5dd8141aa499dae7d01cad522ab028;p=r2c2.git Remove some unnecessary braces and an outdated comment --- diff --git a/source/libr2c2/arducontrol.cpp b/source/libr2c2/arducontrol.cpp index dd4e057..eb97d49 100644 --- a/source/libr2c2/arducontrol.cpp +++ b/source/libr2c2/arducontrol.cpp @@ -357,9 +357,7 @@ void ArduControl::tick() Accessory &acc = i->second; if(tag.command==Accessory::ACTIVATE) - { off_timeout = Time::now()+acc.active_time; - } else if(tag.command==Accessory::DEACTIVATE) { if(acc.state.commit(tag.serial)) diff --git a/source/libr2c2/trainai.h b/source/libr2c2/trainai.h index 85c27b7..b3412c5 100644 --- a/source/libr2c2/trainai.h +++ b/source/libr2c2/trainai.h @@ -16,8 +16,6 @@ Base class for train AIs. AIs can help the user in various ways, ranging from automatically stopping the train at the end of allocated track to autonomously running a train. - -XXX The timestamp should be removed from tick, but Timetable depends on it */ class TrainAI {