From 2def66967833d2f2ce84966ec3a9c7c8ef90ebc4 Mon Sep 17 00:00:00 2001 From: James McCulloch Date: Sun, 20 Feb 2011 23:17:22 +0000 Subject: [PATCH] fix fp flags on windoze release build (solves RoutePlanner sync problems) init streflop in 'no denormals' mode (just in case) --- mk/windoze/glest_game.vcproj | 2 +- source/glest_game/main/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mk/windoze/glest_game.vcproj b/mk/windoze/glest_game.vcproj index 7259a7a4..6f363b14 100755 --- a/mk/windoze/glest_game.vcproj +++ b/mk/windoze/glest_game.vcproj @@ -144,7 +144,7 @@ RuntimeLibrary="0" EnableFunctionLevelLinking="true" EnableEnhancedInstructionSet="1" - FloatingPointModel="0" + FloatingPointModel="2" ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index 0a4d9f3a..0cfa08a9 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -1479,6 +1479,7 @@ int glestMain(int argc, char** argv) { if( haveSpecialOutputCommandLineOption == false || hasCommandArgument(argc, argv,GAME_ARGS[GAME_ARG_VERSION]) == true) { #ifdef USE_STREFLOP +# define STREFLOP_NO_DENORMALS streflop_init(); printf("%s, SVN: [%s], [STREFLOP]\n",getNetworkVersionString().c_str(),getSVNRevisionString().c_str()); #else