| 3707 | } |
| 3708 | |
| 3709 | Vec3<int> Vehicle::getPreferredPosition(Vec3<int> position) const |
| 3710 | { |
| 3711 | if (!type->isGround()) |
| 3712 | { |
| 3713 | position.z = (int)altitude; |
| 3714 | } |
| 3715 | return position; |
| 3716 | } |
| 3717 | |
| 3718 | Vec3<int> Vehicle::getPreferredPosition(int x, int y, int z) const |
| 3719 | { |
no test coverage detected