[colobot] 201/390: Fixed isnan() on MXE
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:21:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch upstream/latest
in repository colobot.
commit 76ca4fc6aee237ff542817e68fcbeed7cf6e66c4
Author: krzys-h <krzys_h at interia.pl>
Date: Mon Nov 10 22:17:41 2014 +0100
Fixed isnan() on MXE
---
src/object/object.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/object/object.cpp b/src/object/object.cpp
index 6e386f3..7d8b4cf 100644
--- a/src/object/object.cpp
+++ b/src/object/object.cpp
@@ -1085,7 +1085,7 @@ bool CObject::Write(CLevelParserLine* line)
for ( i=0 ; i<OBJECTMAXCMDLINE ; i++ )
{
value = GetCmdLine(i);
- if ( isnan(value) ) break;
+ if ( std::isnan(value) ) break;
cmdline.push_back(new CLevelParserParam(value));
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git
More information about the Pkg-games-commits
mailing list