From bab0e871413d716715f65b6719a00f4ad1c29f01 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 1 Jun 2010 21:21:07 +0000 Subject: [PATCH] removed streflop from map editor --- source/glest_map_editor/map.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/source/glest_map_editor/map.cpp b/source/glest_map_editor/map.cpp index 004bc9b3a..6ad32ca80 100644 --- a/source/glest_map_editor/map.cpp +++ b/source/glest_map_editor/map.cpp @@ -12,8 +12,7 @@ #include "map.h" -//#include -#include "math_wrapper.h" +#include #include using namespace Shared::Util; @@ -77,11 +76,7 @@ static int get_dist(int delta_x, int delta_y) { float dx = delta_x; float dy = delta_y; -#ifdef USE_STREFLOP - return static_cast(streflop::sqrtf(dx * dx + dy * dy)); -#else return static_cast(sqrtf(dx * dx + dy * dy)); -#endif } void Map::glestChangeHeight(int x, int y, int height, int radius) {