diff --git a/zone/position.cpp b/zone/position.cpp index a7b32cb62..afa2b45cf 100644 --- a/zone/position.cpp +++ b/zone/position.cpp @@ -152,7 +152,7 @@ float ComparativeDistance(const xyz_location& point1, const xyz_location& point2 * Produces the non square root'ed distance between the two points. */ float ComparativeDistance(const xyz_heading& point1, const xyz_heading& point2) { - ComparativeDistance(static_cast(point1), static_cast(point2)); + return ComparativeDistance(static_cast(point1), static_cast(point2)); } /** @@ -166,7 +166,7 @@ float Distance(const xyz_location& point1, const xyz_location& point2) { * Produces the distance between the two points. */ float Distance(const xyz_heading& point1, const xyz_heading& point2) { - Distance(static_cast(point1), static_cast(point2)); + return Distance(static_cast(point1), static_cast(point2)); } /**