From aff4c995ee9a7a0a81b2216d9c4c252e48856c57 Mon Sep 17 00:00:00 2001 From: Tomoaki KAWADA Date: Fri, 23 Jan 2015 18:43:53 +0900 Subject: [PATCH] fixed to compile --- Sources/Client/ClientPlayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Client/ClientPlayer.cpp b/Sources/Client/ClientPlayer.cpp index e66aa6bd..c9856750 100644 --- a/Sources/Client/ClientPlayer.cpp +++ b/Sources/Client/ClientPlayer.cpp @@ -59,8 +59,8 @@ namespace spades { bool CheckVisibility(const AABB3 &box) { if (!clipBox.Contains(box) || - !isfinite(box.min.x) || !isfinite(box.min.y) || !isfinite(box.min.z) || - !isfinite(box.max.x) || !isfinite(box.max.y) || !isfinite(box.max.z)) { + !std::isfinite(box.min.x) || !std::isfinite(box.min.y) || !std::isfinite(box.min.z) || + !std::isfinite(box.max.x) || !std::isfinite(box.max.y) || !std::isfinite(box.max.z)) { OnProhibitedAction(); return false; }