mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
VS would like us to return values.
This commit is contained in:
parent
f4224b296a
commit
5465d76d20
@ -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.
|
* Produces the non square root'ed distance between the two points.
|
||||||
*/
|
*/
|
||||||
float ComparativeDistance(const xyz_heading& point1, const xyz_heading& point2) {
|
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.
|
* Produces the distance between the two points.
|
||||||
*/
|
*/
|
||||||
float Distance(const xyz_heading& point1, const xyz_heading& point2) {
|
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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user