summaryrefslogtreecommitdiff
path: root/src/inventorymanager.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/inventorymanager.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/inventorymanager.cpp')
-rw-r--r--src/inventorymanager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inventorymanager.cpp b/src/inventorymanager.cpp
index 3d8513492..f36a2fa4e 100644
--- a/src/inventorymanager.cpp
+++ b/src/inventorymanager.cpp
@@ -26,8 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "craftdef.h"
#include "rollback_interface.h"
#include "util/strfnd.h"
-
-#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
+#include "util/basic_macros.h"
#define PLAYER_TO_SA(p) p->getEnv()->getScriptIface()