client.send(pkt);
}
+float NetTrain::get_control(const string &c) const
+{
+ map<string, float>::const_iterator i = controls.find(c);
+ return i!=controls.end() ? i->second : 0;
+}
+
void NetTrain::set_function(unsigned i, bool set)
{
TrainFunctionPacket pkt;