|
|
|
@ -947,6 +947,7 @@ void NetworkServer::ListenThreadFunction(NetworkClientInfo * client_info)
|
|
|
|
memcpy(&zone, data, sizeof(int));
|
|
|
|
memcpy(&zone, data, sizeof(int));
|
|
|
|
|
|
|
|
|
|
|
|
controllers[header.pkt_dev_idx]->zones[zone].segments.clear();
|
|
|
|
controllers[header.pkt_dev_idx]->zones[zone].segments.clear();
|
|
|
|
|
|
|
|
profile_manager->SaveProfile("sizes", true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
@ -961,6 +962,7 @@ void NetworkServer::ListenThreadFunction(NetworkClientInfo * client_info)
|
|
|
|
if(header.pkt_dev_idx < controllers.size())
|
|
|
|
if(header.pkt_dev_idx < controllers.size())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
controllers[header.pkt_dev_idx]->SetSegmentDescription((unsigned char *)data);
|
|
|
|
controllers[header.pkt_dev_idx]->SetSegmentDescription((unsigned char *)data);
|
|
|
|
|
|
|
|
profile_manager->SaveProfile("sizes", true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|