mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
VS would like us to return values.
This commit is contained in:
+2
-2
@@ -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<xyz_location>(point1), static_cast<xyz_location>(point2));
|
||||
return ComparativeDistance(static_cast<xyz_location>(point1), static_cast<xyz_location>(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<xyz_location>(point1), static_cast<xyz_location>(point2));
|
||||
return Distance(static_cast<xyz_location>(point1), static_cast<xyz_location>(point2));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user