From d0ea6f9920d30f46d1f5d44e8823a8d932f9f29d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 17 Jun 2012 02:40:36 +0300 Subject: Properly and efficiently use split utility headers --- src/server.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server.cpp') diff --git a/src/server.cpp b/src/server.cpp index 70e33aaf7..f8eaaf9c3 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -18,7 +18,6 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include "server.h" -#include "utility.h" #include #include #include "clientserver.h" @@ -49,10 +48,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "sha1.h" #include "base64.h" #include "tool.h" -#include "util/string.h" #include "sound.h" // dummySoundManager #include "event_manager.h" #include "hex.h" +#include "util/string.h" +#include "util/pointedthing.h" #define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")" @@ -676,7 +676,7 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime, FOV setting. The default of 72 degrees is fine. */ - float camera_fov = (72.0*PI/180) * 4./3.; + float camera_fov = (72.0*M_PI/180) * 4./3.; if(isBlockInSight(p, camera_pos, camera_dir, camera_fov, 10000*BS) == false) { continue; -- cgit v1.2.3