/// Ограничивает скорость bool VSpeeds::RestrictMaxSpeed(const speed_t & in_speed) { //FixMe!!! if (GetMaxSpeed()>in_speed) { DecreaseSpeed(GetMaxSpeed()-in_speed); return true; } return false; }
void HK_DecreaseSpeed(int, bool justPressed) { DecreaseSpeed(); }