**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
point2_duck->set_radius(true);
point2_duck->set_scalar(-1);
point2_duck->set_type(Duck::TYPE_RADIUS);
point2_duck->set_radius(true);
point2_duck->set_scalar(-1);
point2_duck->set_type(Duck::TYPE_RADIUS);
- if ((point[0] - point_holder[0]) * get_work_area()->get_pw() < 0) point[0] = point_holder[0];
- if ((point[1] - point_holder[1]) * get_work_area()->get_ph() > 0) point[1] = point_holder[1];
+ if ((point[0] - point_holder[0]) < 0) point[0] = point_holder[0];
+ if ((point[1] - point_holder[1]) < 0) point[1] = point_holder[1];