summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorRogier <rogier777@gmail.com>2016-12-13 23:16:26 +0100
committerparamat <mat.gregory@virginmedia.com>2016-12-24 00:32:50 +0000
commit4d4b8bb8a46b6472d86fa848954dbc26b4fadb50 (patch)
tree1f6bff842b0ee81027de44d7c27e16a8e4518bbc /src/map.cpp
parent2f59a0c840e9101c87e2d59fabf34116b3328121 (diff)
downloadminetest-4d4b8bb8a46b6472d86fa848954dbc26b4fadb50.tar.gz
minetest-4d4b8bb8a46b6472d86fa848954dbc26b4fadb50.tar.bz2
minetest-4d4b8bb8a46b6472d86fa848954dbc26b4fadb50.zip
Move PP() and PP2() macros to basic_macros.h
Instead of redefining them everywhere.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 7bb8c4a13..c3b62ded0 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -33,6 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "gamedef.h"
#include "util/directiontables.h"
#include "util/mathconstants.h"
+#include "util/basic_macros.h"
#include "rollback_interface.h"
#include "environment.h"
#include "reflowscan.h"
@@ -56,8 +57,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "database-postgresql.h"
#endif
-#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
-
/*
Map