diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index 1fa037ee94..bbeda5bab2 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -925,7 +925,7 @@ int PlayerMover::findDistance(const Common::Point &pt1, const Common::Point &pt2 double yy = diff * 8.0 / 7.0; yy *= yy; - return (int)sqrtf(xx + yy); + return (int)sqrt(xx + yy); } bool PlayerMover::sub_F8E5(const Common::Point &pt1, const Common::Point &pt2, const Common::Point &pt3, |